-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
090e182
commit 92a4fea
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# git rename-branch | ||
|
||
> Rename a Git branch. | ||
> Part of `git-extras`. | ||
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-rename-branch>. | ||
- Rename the branch you are currently on: | ||
|
||
`git rename-branch {{new_branch_name}}` | ||
|
||
- Rename a specific branch: | ||
|
||
`git rename-branch {{old_branch_name}} {{new_branch_name}}` |