1GIT-REFACTOR(1) Git Extras GIT-REFACTOR(1)
2
3
4
6 git-refactor - Create refactor branch
7
9 git-refactor [-r|--remote [remote_name]] [finish] <name>
10
12 Create the given refactor branch
13
15 <-r|--remote [remote_name]>
16
17 Setup a remote tracking branch using remote_name. If remote_name is not
18 supplied, use origin by default.
19
20 <finish>
21
22 Merge and delete the refactor branch.
23
24 <name>
25
26 The name of the refactor branch.
27
29 $ git refactor mainlib_refactor
30 $ git commit -m "Some changes"
31 $ git checkout master
32 $ git refactor finish mainlib_refactor
33
34 $ $ git refactor -r upstream mainlib_refactor
35
37 Written by Jesús Espino <jespinog@gmail.com>
38 Modified by Mark Pitman <mark.pitman@gmail.com>
39
41 <https://github.com/tj/git-extras/issues>
42
44 <https://github.com/tj/git-extras>
45
46
47
48 May 2018 GIT-REFACTOR(1)