1
0
mirror of synced 2026-01-03 15:05:54 -05:00

Update renaming-a-branch.md (#26241)

Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
This commit is contained in:
Yohannes Wijaya
2023-06-28 19:23:38 +00:00
committed by GitHub
parent d6b1e88d19
commit e46d014703

View File

@@ -42,7 +42,6 @@ From the local clone of the repository on a computer, run the following commands
```shell
git branch -m OLD-BRANCH-NAME NEW-BRANCH-NAME
git fetch origin
git push origin NEW-BRANCH-NAME
git branch -u origin/NEW-BRANCH-NAME NEW-BRANCH-NAME
git remote set-head origin -a
```