logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

git-rename-branch - rename local branch and push to remote

Author

       Written by Hozefa Jodiawalla <hozefarules@gmail.com>

Description

       Rename local branch and push the new branch to remote

Examples

       $ git rename-branch old-name new-name

       $ git rename-branch new-name

Name

git-rename-branch - rename local branch and push to remote

Options

       &lt;old-branch&gt;

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

       &lt;new-branch&gt;

       New branch name

Reporting Bugs

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

See Also

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

                                                  October 2024                              GIT-RENAME-BRANCH(1)

Synopsis

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

See Also