Created
January 24, 2016 23:47
-
-
Save awesomebytes/ce5f0a88f52814ef39eb to your computer and use it in GitHub Desktop.
Script to activate git shortcuts like git co for git checkout
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 | |
| git config --global alias.co checkout | |
| git config --global alias.ci commit | |
| git config --global alias.st status | |
| git config --global alias.br branch | |
| git config --global alias.hist 'log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short' | |
| git config --global alias.type 'cat-file -t' | |
| git config --global alias.dump 'cat-file -p' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment