1GIT-RENAME-BRANCH(1)              Git Extras              GIT-RENAME-BRANCH(1)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

12       Rename local branch and push the new branch to remote
13

OPTIONS

15       &lt;old-branch&gt;
16
17       Old branch whose has to be renamed. This is an optional parameter. If no value is supplied then the current branch will be renamed.
18
19       &lt;new-branch&gt;
20
21       New branch name
22

EXAMPLES

24       $ git rename-branch old-name new-name
25
26       $ git rename-branch new-name
27

AUTHOR

29       Written by Hozefa Jodiawalla <hozefarules@gmail.com>
30

REPORTING BUGS

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

SEE ALSO

35       <https://github.com/tj/git-extras>
36
37
38
39                                   July 2019              GIT-RENAME-BRANCH(1)
Impressum