From 9fe90c9496da3269cae441b7ab202811a6b62921 Mon Sep 17 00:00:00 2001 From: zhiqiang Date: Sun, 24 Oct 2021 12:33:32 +0800 Subject: [PATCH] Revert the change of git checkout --- .github/workflows/greetings.yml | 2 +- CONTRIBUTING.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ```