.\" generated with Ronn-NG/v0.9.1 .\" http://github.com/apjanke/ronn-ng/tree/0.9.1 .TH "GIT\-REFACTOR" "1" "June 2020" "" "Git Extras" .SH "NAME" \fBgit\-refactor\fR \- Create refactor branch .SH "SYNOPSIS" .TS allbox; \fBgit\-refactor\fR [\-r \-\-remote [remote_name]] [finish] .TE .SH "DESCRIPTION" Create the given refactor branch .SH "OPTIONS" .TS allbox; <\-r \-\-remote [remote_name]> .TE .P Setup a remote tracking branch using \fBremote_name\fR\. If \fBremote_name\fR is not supplied, use \fBorigin\fR by default\. .P .P Merge and delete the refactor branch\. .P .P The name of the refactor branch\. .SH "EXAMPLES" .nf $ git refactor mainlib_refactor `\|\.\|\.\|\.` $ git commit \-m "Some changes" `\|\.\|\.\|\.` $ git checkout master $ git refactor finish mainlib_refactor $ $ git refactor \-r upstream mainlib_refactor .fi .SH "AUTHOR" Written by Jesus Espino <\fIjespinog@gmail\.com\fR> .br Modified by Mark Pitman <\fImark\.pitman@gmail\.com\fR> .SH "REPORTING BUGS" <\fIhttps://github\.com/tj/git\-extras/issues\fR> .SH "SEE ALSO" <\fIhttps://github\.com/tj/git\-extras\fR>