My preferred git aliases
Navigate to the route folder in your Bash client.
./add.sh
I love git-flow, but the utility requires that you type long commands
like git flow feature add <new-feature>
. This is too much typing.
git fs <feature-name>
git ff
or
git ff <feature-name>
To interactively rebase a feature branch before merging it. Make sure you are in the branch you want to rebase
git rbd
git rs <release-name>
git rf <release-name>
To interactively rebase a release branch before merging it. Make sure you are in the branch you want to rebase
git rbd
git hfs <hotfix-name>
git hff <hotfix-name>
To interactively rebase a hotfix branch before merging it. Make sure you are in the branch you want to rebase
git rbm
This will remove all merged branches that are not master
or develop
git cleanup
git com
git co
git logo
git logf
git logfo
git touch
git plagiarise
git tago
git reignore
Here I have shortened or combined commands that I type all the time.
alias | command |
---|---|
|
|
|
|