Update renaming-a-branch.md (#25447)
Co-authored-by: Sarah Edwards <skedwards88@github.com> Co-authored-by: Courtney Wilson <77312589+cmwilson21@users.noreply.github.com>
This commit is contained in:
@@ -42,6 +42,7 @@ 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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user