From ce2a6a994c385eda315402ac3cad505832420249 Mon Sep 17 00:00:00 2001 From: clement-here Date: Wed, 11 Sep 2024 16:28:00 +0200 Subject: [PATCH 1/2] replace git checkout -b with switch -c --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e68882cc..1441a06a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ series [How to Contribute to an Open Source Project on GitHub][egghead] 1. Fork and clone the repo 2. Run `npm run setup -s` to install dependencies and run validation -3. Create a branch for your PR with `git checkout -b pr/your-branch-name` +3. Create a branch for your PR with `git switch -c pr/your-branch-name` > Tip: Keep your `main` branch pointing at the original repository and make pull > requests from branches on your fork. To do this, run: From 6774bf94794da16c2bf65bedd8433cfaf94c20d5 Mon Sep 17 00:00:00 2001 From: clement-here Date: Wed, 11 Sep 2024 16:28:35 +0200 Subject: [PATCH 2/2] fix broken egghead link --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1441a06a..3fd2947a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,7 +40,7 @@ Also, please watch the repo and respond to questions/bug reports/feature requests! Thanks! -[egghead]: https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github +[egghead]: https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github [all-contributors]: https://github.com/all-contributors/all-contributors [issues]: https://github.com/testing-library/jest-dom/issues