Last active
November 13, 2018 10:50
-
-
Save gustoase/c00e2b60d2a3bc517cc6 to your computer and use it in GitHub Desktop.
Git alias
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.po 'pull --ff-only origin' | |
git config --global alias.co 'checkout' | |
git config --global alias.p 'push origin' | |
git config --global alias.m 'merge --no-ff' | |
git config --global alias.s 'status' | |
git config --global alias.cm 'commit -m' | |
# work | |
git config --global alias.coi 'checkout integration' | |
git config --global alias.coh 'checkout hotfix' | |
git config --global alias.mi 'merge --no-ff integration' | |
git config --global alias.mh 'merge --no-ff hotfix' | |
git config --global alias.ph 'push origin hotfix' | |
git config --global alias.pi 'push origin integration' | |
git config --global alias.su 'submodule update' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment