Created
October 18, 2014 10:36
-
-
Save MattSkala/a8e2e030a304b710a00d to your computer and use it in GitHub Desktop.
.gitconfig
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
[user] | |
name = Matouš Skála | |
email = [email protected] | |
[core] | |
# windows->true, linux->input | |
autocrlf = input | |
safecrlf = false | |
excludesfile = /Users/skala/.gitignore_global | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
hist = log --pretty=format:\"%C(yellow)%h %Cred%ad%Cgreen%d %Creset%s %Cblue[%an]\" --graph --date=short --date=relative | |
type = cat-file -t | |
dump = cat-file -p | |
# graph for current branch | |
l = log --graph --decorate --pretty=oneline --abbrev-commit | |
# graph for all branches | |
ll = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
spl = !git stash && git pull --rebase && git stash pop | |
[credential] | |
helper = osxkeychain | |
[http] | |
sslVerify = false | |
[remote "origin"] | |
# git push -> push current HEAD into tracked remote branch | |
push = HEAD | |
[diff] | |
mnemonicprefix = true | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = green | |
changed = yellow | |
untracked = cyan | |
[log] | |
decorate = full |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment