Last active
April 26, 2016 09:54
-
-
Save borisschapira/5345194 to your computer and use it in GitHub Desktop.
Config 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
[user] | |
name = user | |
email = mail | |
[color] | |
ui = true | |
diff = auto | |
interactive = auto | |
[alias] | |
st = status | |
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative | |
last = lg -1 | |
wdiff = diff --color-words | |
branches = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'" | |
search = "!sh -c 'git log --grep=$1' -" | |
[core] | |
excludesfile = ~/.gitignore | |
[credential] | |
helper = cache --timeout=360000 | |
[diff] | |
wordRegex = . | |
[pull] | |
rebase = true | |
[push] | |
default = simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment