Nix Nix
tldr-pages web client with multiple languages
Nix Nix
Search
On This Page

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

Related Topics
中文 version
Contribute to This Page
Report New Issue View Source
Discuss this page