Created
April 13, 2016 07:52
-
-
Save patrickallaert/18db667dc0adbd26a0efec7aa6f8b8ec to your computer and use it in GitHub Desktop.
My .gitconfig file ([alias] part)
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
[alias] | |
dic = diff --cached | |
prb = pull --rebase | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
sed = ! git grep -z --full-name -l '.' | xargs -0 sed -ri -e | |
wdiff = diff --color-words='[A-z0-9_-]+|[^[:space:]]' | |
hide = update-index --assume-unchanged | |
unhide = update-index --no-assume-unchanged | |
hidden = "!git ls-files -v | grep ^h | cut -c 3-" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment