tj.git-extras/man/git-rename-branch.md
Daniele Paolella b57eb8b92a
Fix minor typo in git rename-branch man page (#1211)
* docs: fix symbols in `git rename-branch` man page

* Format doc page after others and rebuild artifacts
2025-09-04 10:51:48 +08:00

741 B

git-rename-branch(1) -- rename local branch and push to remote

SYNOPSIS

git-rename-branch <old-branch> <new-branch>

DESCRIPTION

Rename local branch and push the new branch to remote

OPTIONS

<old-branch>

Old branch whose has to be renamed. This is an optional parameter. If no value is supplied then the current branch will be renamed.

<new-branch>

New branch name

EXAMPLES

$ git rename-branch old-name new-name

$ git rename-branch new-name

AUTHOR

Written by Hozefa Jodiawalla <hozefarules@gmail.com>

REPORTING BUGS

<https://github.com/tj/git-extras/issues>

SEE ALSO

<https://github.com/tj/git-extras>