Last active
March 9, 2016 16:08
-
-
Save carolosf/de515a05d7a57a062893 to your computer and use it in GitHub Desktop.
aliases for git
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
#!/bin/bash | |
# from https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases | |
git config --global alias.co checkout | |
git config --global alias.br branch | |
git config --global alias.ci commit | |
git config --global alias.st status | |
git config --global alias.unstage 'reset HEAD --' | |
git config --global alias.last 'log -1 HEAD' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment