Last active
August 19, 2016 18:14
-
-
Save marutypes/4088f45e0d80e6e87646e7cff806d91b to your computer and use it in GitHub Desktop.
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
# aliases for better names on some commands | |
git config --global alias.uncommit 'reset --soft HEAD^' | |
git config --global alias.unstage 'reset' | |
# aliases for quick typing | |
git config --global alias.co 'checkout' | |
git config --global alias.br 'branch' | |
git config --global alias.cm 'commit' | |
git config --global alias.st 'status' | |
git config --global alias.sh 'stash' | |
git config --global alias.m 'merge' | |
git config --global alias.f 'fetch' | |
git config --global alias.d 'diff' | |
git config --global alias.l 'log' | |
# remove an alias | |
git config --global --unset alias.lg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment