Skip to content

Commit 4509e3e

Browse files
Update renaming-a-branch.md (#32057)
Co-authored-by: Alex Nguyen <[email protected]>
1 parent 8bcb4b8 commit 4509e3e

File tree

1 file changed

+1
-1
lines changed
  • content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository

1 file changed

+1
-1
lines changed

content/repositories/configuring-branches-and-merges-in-your-repository/managing-branches-in-your-repository/renaming-a-branch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ From the local clone of the repository on a computer, run the following commands
4343
```shell
4444
git branch -m OLD-BRANCH-NAME NEW-BRANCH-NAME
4545
git fetch origin
46-
git branch -u origin/OLD-BRANCH-NAME NEW-BRANCH-NAME
46+
git branch -u origin/NEW-BRANCH-NAME NEW-BRANCH-NAME
4747
git remote set-head origin -a
4848
```
4949

0 commit comments

Comments
 (0)