Last active
August 29, 2015 14:20
-
-
Save ankitjaininfo/95594f686311c97aa519 to your computer and use it in GitHub Desktop.
My .gitconfig
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] | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset - %Cgreen(%cr) %C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit | |
ll = log --pretty=format:'%C(red)%h %Cgreen(%cr) %C(yellow)%d%Creset%s %C(bold blue)<%an>%Creset' --decorate --numstat | |
d = diff | |
dc = diff --cached | |
s = status | |
assume = update-index --assume-unchanged | |
unassume = update-index --no-assume-unchanged | |
assumed = "!git ls-files -v | grep ^h | cut -c 3-" | |
unassumeall = "!git assumed | xargs git update-index --no-assume-unchanged" | |
[user] | |
name = Ankit Jain | |
[credential] | |
helper = cache --timeout=56000 | |
[branch] | |
autosetuprebase = always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment