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 <new-branch> <old-branch>
10

DESCRIPTION

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

OPTIONS

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

EXAMPLES

24       $ git rename-branch new-name old-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                                 October 2017             GIT-RENAME-BRANCH(1)
Impressum