This is a simple script to type without full branch name while using git flow.
- Preparation
git clone [email protected]:benwei/gitm.git
cd gitm
- Method 1 -- using setup script
sh git-macro-setup
- Method 2 -- install manually
cp git-m /usr/local/bin/
chmod +x /usr/local/bin/git-m
- syntax:
git m version | <command> [args]
option:
co <order> if order is the following one
default: list branch order
0: checkout next release branch
n: checkout specific order branch