Created
November 1, 2016 02:22
-
-
Save pswai/6d33352445e7ca67798dd9f61d5d9cc4 to your computer and use it in GitHub Desktop.
Install Git Aliases
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
#!/usr/bin/env bash | |
git config --global alias.co checkout | |
git config --global alias.br branch | |
git config --global alias.ci commit | |
git config --global alias.st "status -sb" | |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --abbrev-commit" | |
git config --global alias.lol "log --graph --decorate --oneline" | |
git config --global alias.lola "log --graph --decorate --oneline --all" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment