Created
August 26, 2015 19:31
-
-
Save arathunku/4e10938abcb3e27a7cf5 to your computer and use it in GitHub Desktop.
git aliases
This file contains hidden or 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
#/bin/bash | |
echo 'alias g=git' >> ~/.zshrc | |
g config --global alias.ca 'commit --amend --reuse-message=HEAD' | |
g config --global alias.ci commit | |
g config --global alias.cp cherry-pick | |
g config --global alias.cl clone | |
g config --global alias.co checkout | |
g config --global alias.f fetch | |
g config --global alias.b branch | |
g config --global alias.s status | |
g config --global color.status.added green | |
g config --global color.status.modified red | |
g config --global color.status.untracked blue | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment