Last active
July 5, 2016 17:28
-
-
Save alexrqs/90674f94d483df7baf3f4c4ae0eca402 to your computer and use it in GitHub Desktop.
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
git config --global alias.au 'add -u' | |
git config --global alias.ai 'add -i' | |
git config --global alias.ap 'add -p' | |
git config --global alias.ci 'commit' | |
git config --global alias.co 'checkout' | |
git config --global alias.cp 'cherry-pick' | |
git config --global alias.big 'bisect good' | |
git config --global alias.bib 'bisect bad' | |
git config --global alias.b 'branch' | |
git config --global alias.ba 'branch -a' | |
git config --global alias.l 'log --graph --decorate --pretty=oneline --abbrev-commit' | |
git config --global alias.la 'log --graph --decorate --pretty=oneline --abbrev-commit --all' | |
git config --global alias.ld "log --graph --decorate --pretty=format:'%Cred%h%Creset - %Cgreen(%cr)%Creset %s%C(yellow)%d%Creset' --abbrev-commit --date=iso" | |
git config --global alias.s 'status -s' | |
git config --global alias.d 'diff' | |
git config --global alias.dw 'diff --color-words -w -b' | |
git config --global alias.ds 'diff --staged' | |
git config --global alias.dsw 'diff --staged --color-words -w -b' | |
git config --global alias.g 'grep --break --heading --line-number' | |
git config --global alias.gi 'grep -i --break --heading --line-number' | |
git config --global alias.rso 'remote show origin' | |
git config --global alias.rpo 'remote prune origin' | |
git config --global alias.sl 'stash list' | |
git config --global alias.ss 'stash show' | |
git config --global alias.p 'pull' | |
git config --global alias.pr 'pull --rebase' | |
git config --global alias.r 'rebase' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment