prune gitconf

This commit is contained in:
Tyrel Souza 2016-04-07 13:43:34 -04:00
parent 05d37ba641
commit e4d97b546a
No known key found for this signature in database
GPG Key ID: 2EECB5087209E6A5

View File

@ -4,41 +4,28 @@
email = tyrelsouza@gmail.com email = tyrelsouza@gmail.com
name = Tyrel Souza name = Tyrel Souza
signingkey = 8A2DDEE2 signingkey = 8A2DDEE2
[commit]
gpgsign = true
[push] [push]
default = simple 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\"
[merge]
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\"
[format] [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 pretty = format:%C(auto)%h %C(green)%G? %C(red)%<(15,trunc)%aN %C(cyan)%<(15,trunc)%ar %C(white)%<(60,trunc)%s %C(auto)%d
[alias] [alias]
ls = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative # show all these aliases
files = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
files2 = log --numstat --pretty=format:"[%cn]"
logtree= "log --graph --oneline --decorate --all"
alias = "!git config -l | grep alias | cut -c 7-" alias = "!git config -l | grep alias | cut -c 7-"
# Show files modified per commit
files = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
# show a tree with branches merging
logtree= "log --graph --oneline --decorate --all"
# get the most 10 recent branches worked on
recent = "!git for-each-ref --format=\"%(committerdate:relative) | %(refname)\" --sort=-committerdate refs/heads | sed '/master/d' | head -n 10" 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'" # show tabs with ⌑ replacing tabs
tabs = "!git diff --color | sed 's/\\t/⌑/g'" tabs = "!git diff --color | sed 's/\t/⌑/g'"
# show the current version tag
v=describe --tags --match 'v*' v=describe --tags --match 'v*'
# alias like `hg st`, because I like st, shorter is nice!
st = status st = status
[filter "lfs"] [filter "lfs"]
clean = git-lfs clean %f clean = git-lfs clean %f
smudge = git-lfs smudge %f smudge = git-lfs smudge %f
required = true required = true
[commit]
gpgsign = true