diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 7794a843e300..0bbc49ba2508 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -17,7 +17,7 @@ jobs: ```bash git remote add upstream https://github.com/ultralytics/yolov5.git git fetch upstream - git checkout -b feature # <----- replace 'feature' with local branch name + git checkout feature # <----- replace 'feature' with local branch name git merge upstream/master git push -u origin -f ``` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e33c9609ab66..52e48a1f13c5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,7 +49,7 @@ To allow your work to be integrated as seamlessly as possible, we advise you to: ```bash git remote add upstream https://github.com/ultralytics/yolov5.git git fetch upstream - git checkout -b feature # <----- replace 'feature' with local branch name + git checkout feature # <----- replace 'feature' with local branch name git merge upstream/master git push -u origin -f ```