dotfiles/gitconfig

45 lines
1.6 KiB
Plaintext
Raw Normal View History

2015-09-15 17:15:20 +00:00
[core]
2016-04-05 19:25:30 +00:00
excludesfile = ~/.gitignore_global
[user]
email = tyrelsouza@gmail.com
name = Tyrel Souza
signingkey = 8A2DDEE2
[push]
default = simple
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[diff]
tool = diffmerge
[difftool "diffmerge"]
cmd = diffmerge \"$LOCAL\" \"$REMOTE\"
2015-09-15 17:15:20 +00:00
[merge]
2016-04-05 19:25:30 +00:00
tool = diffmerge
[mergetool "diffmerge"]
cmd = "diffmerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$(if test -f \"$BASE\"; then echo \"$BASE\"; else echo \"$LOCAL\"; fi)\" \"$REMOTE\""
trustExitCode = true
[difftool]
prompt = false
[difftool "delta"]
cmd = delta \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
2016-04-07 17:32:17 +00:00
[format]
pretty = format:%C(auto)%h %C(cyan)%G? %C(green)%<(15,trunc)%aN %C(dim magenta)%<(15,trunc)%ar %C(white)%<(60,trunc)%s %C(auto)%d
2016-04-05 19:25:30 +00:00
[alias]
ls = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
files = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
2016-04-07 17:32:17 +00:00
files2 = log --numstat --pretty=format:"[%cn]"
2016-04-05 19:25:30 +00:00
logtree= "log --graph --oneline --decorate --all"
alias = "!git config -l | grep alias | cut -c 7-"
recent = "!git for-each-ref --format=\"%(committerdate:relative) | %(refname)\" --sort=-committerdate refs/heads | sed '/master/d' | head -n 10"
tabsescape = "!git diff --color | sed 's/\\t/\\\\t/g'"
tabs = "!git diff --color | sed 's/\\t/⌑/g'"
v=describe --tags --match 'v*'
st = status
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
2015-09-15 17:15:20 +00:00
required = true
2016-04-05 19:25:30 +00:00
[commit]
gpgsign = true