Created
April 2, 2013 11:37
-
-
Save zorbash/5291594 to your computer and use it in GitHub Desktop.
some useful aliases for git
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
alias.st status | |
alias.ci commit | |
alias.co checkout | |
alias.di diff | |
alias.br branch | |
alias.mod ls-files -m | |
alias.tip log -1 | |
alias.ds diff --cached | |
alias.sm submodule | |
alias.line log --oneline | |
alias.hard reset --hard | |
alias.ls ls-files | |
alias.pop stash pop | |
alias.lg log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment