tj.git-extras/man/git-refactor.md
2017-07-12 00:59:56 -07:00

49 lines
958 B
Markdown

git-refactor(1) -- Create refactor branch
=========================================
## SYNOPSIS
`git-refactor` [-r|--remote [remote_name]] [finish] <name>
## DESCRIPTION
Create the given refactor branch
## OPTIONS
<-r|--remote [remote_name]>
Setup a remote tracking branch using `remote_name`. If `remote_name` is not supplied, use `origin` by default.
<finish>
Merge and delete the refactor branch.
<name>
The name of the refactor branch.
## EXAMPLES
$ git refactor mainlib_refactor
...
$ git commit -m "Some changes"
...
$ git checkout master
$ git refactor finish mainlib_refactor
$ $ git refactor -r upstream mainlib_refactor
## AUTHOR
Written by Jesús Espino &lt;<jespinog@gmail.com>&gt;
Modified by Mark Pitman &lt;<mark.pitman@gmail.com>&gt;
## REPORTING BUGS
&lt;<https://github.com/tj/git-extras/issues>&gt;
## SEE ALSO
&lt;<https://github.com/tj/git-extras>&gt;