Created
February 19, 2015 11:33
-
-
Save SofHad/4d8d6fa40d14807fd773 to your computer and use it in GitHub Desktop.
Git alias
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.co checkout | |
alias.ci commit | |
alias.rb rebase | |
alias.st status | |
alias.br branch | |
alias.submodule-pull-all submodule foreach git pull --all | |
alias.submodule-fetch-all submodule foreach git fetch --tags | |
alias.sup submodule update --init --recursive | |
alias.lol log --graph --decorate --pretty=oneline --abbrev-commit | |
alias.lola log --graph --decorate --pretty=oneline --abbrev-commit --all | |
alias.lpush !git log origin/$(git currentbranch)..HEAD | |
alias.lpull !git log HEAD..origin/$(git currentbranch) | |
alias.whatsnew !git diff origin/$(git currentbranch)...HEAD | |
alias.whatscoming !git diff HEAD...origin/$(git currentbranch) | |
alias.cam commit -a -m | |
alias.w whatchanged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To diaplay
git config --get-regexp alias