1GIT-BRANCHES-RENAME(1) General Commands Manual GIT-BRANCHES-RENAME(1)
2
3
4
6 git-branches-rename - Batch renames branches with a matching prefix to
7 another prefix
8
10 git-branches-rename [options] BRANCH_PREFIX NEW_PREFIX
11
13 Batch renames branches with a matching prefix to another prefix.
14
16 -h, --help
17 show usage information.
18
19 -v, --verbose
20 print more details about what is being done.
21
22 -n, --dry-run
23 do not actually rename the branches.
24
25 BRANCH_PREFIX
26 a prefix that matches the start of branch names.
27
28 NEW_PREFIX
29 the new prefix for the branch names.
30
32 $ git-rename-branches bug bugfix
33 bug/128 -> bugfix/128
34 bug_test -> bugfix_test
35
36 $ git-rename-branches ma backup/ma
37 master -> backup/master
38 main -> backup/main
39
41 https://github.com/MestreLion/git-tools
42
44 Rodrigo Silva (MestreLion) linux@rodrigosilva.com
45
46
47
48 2016-01-31 GIT-BRANCHES-RENAME(1)