Clean up my #git global config files (much needed)
This commit is contained in:
@ -2,45 +2,39 @@
|
|||||||
[user]
|
[user]
|
||||||
name = Colin Powell
|
name = Colin Powell
|
||||||
email = colin@onec.me
|
email = colin@onec.me
|
||||||
signingkey = 7B405BE1
|
signingkey = 7B405BE1
|
||||||
[push]
|
[push]
|
||||||
default = current
|
default = current
|
||||||
[core]
|
|
||||||
excludesfile = ~/.gitignore_global
|
|
||||||
[difftool "sourcetree"]
|
|
||||||
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
|
|
||||||
path =
|
|
||||||
[mergetool "sourcetree"]
|
|
||||||
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
|
|
||||||
trustExitCode = true
|
|
||||||
[alias]
|
|
||||||
undo = reset --soft HEAD^
|
|
||||||
stash-all = stash save --include-untracked
|
|
||||||
tree = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
|
|
||||||
oline = log --oneline --decorate --no-merges
|
|
||||||
st = status
|
|
||||||
ci = commit
|
|
||||||
br = branch
|
|
||||||
co = checkout
|
|
||||||
df = diff
|
|
||||||
l = log --date-order --date=iso --graph --full-history --all --pretty=format:'%x08%x09%C(red)%h %C(cyan)%ad%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08 %C(bold blue)%aN%C(reset)%C(bold yellow)%d %C(reset)%s'
|
|
||||||
lg = log -p
|
|
||||||
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
|
|
||||||
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
|
|
||||||
hs = for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
|
|
||||||
[merge]
|
|
||||||
conflictstyle = diff3
|
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
|
[core]
|
||||||
|
excludesfile = ~/.gitignore_global
|
||||||
|
[alias]
|
||||||
|
undo = reset --soft HEAD^
|
||||||
|
stash-all = stash save --include-untracked
|
||||||
|
tree = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
|
||||||
|
oline = log --oneline --decorate --no-merges
|
||||||
|
st = status
|
||||||
|
ci = commit
|
||||||
|
br = branch
|
||||||
|
co = checkout
|
||||||
|
df = diff
|
||||||
|
l = log --date-order --date=iso --graph --full-history --all --pretty=format:'%x08%x09%C(red)%h %C(cyan)%ad%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08 %C(bold blue)%aN%C(reset)%C(bold yellow)%d %C(reset)%s'
|
||||||
|
lg = log -p
|
||||||
|
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
|
||||||
|
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
|
||||||
|
hs = for-each-ref --sort=-committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
|
||||||
|
[merge]
|
||||||
|
conflictstyle = diff3
|
||||||
[pager]
|
[pager]
|
||||||
diff = diff-so-fancy | less --tabs=1,5 -RFX
|
diff = diff-so-fancy | less --tabs=1,5 -RFX
|
||||||
show = diff-so-fancy | less --tabs=1,5 -RFX
|
show = diff-so-fancy | less --tabs=1,5 -RFX
|
||||||
[gpg]
|
[gpg]
|
||||||
program = /usr/local/bin/gpg
|
program = /usr/local/bin/gpg
|
||||||
[status]
|
[status]
|
||||||
showUntrackedFiles = all
|
showUntrackedFiles = all
|
||||||
[transfer]
|
[transfer]
|
||||||
fsckobjects = true
|
fsckobjects = true
|
||||||
[filter "lfs"]
|
[filter "lfs"]
|
||||||
clean = git-lfs clean -- %f
|
clean = git-lfs clean -- %f
|
||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
|
|||||||
Reference in New Issue
Block a user