add git config

This commit is contained in:
Aaron Bieber 2020-08-17 14:25:11 -06:00
parent 156d6268eb
commit 0fc6da8125

64
.gitconfig Normal file
View File

@ -0,0 +1,64 @@
[user]
email = aaron@bolddaemon.com
name = Aaron Bieber
[alias]
graph = log --graph --color=never --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
log = log --color=never
lg = log --color=never --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
mpull = !git remote | xargs -I '{}' git pull '{}' master
mpush = !git remote | xargs -I '{}' git push '{}' master
mup = !git remote update
pus = !git pull upstream master
rmdel = !git rm `git ls-files --deleted`
s2b = "!f() { git stash branch $1 stash@{0}; }; f"
sapply = "!f() { git stash apply stash^{/$*}; }; f"
sshow = "!f() { git stash show stash^{/$*} -p; }; f"
upsync = !cvs up && gitsync && git commit -m 'sync'
ustatus = ls-files --others --exclude-standard
[push]
default = simple
[color]
branch = false
diff = true
interactive = false
log = false
status = false
ui = false
[core]
deltaBaseCacheLimit = 1G
[http]
cookiefile = /home/qbit/.gitcookies
[transfer]
fsckobjects = true
[fetch]
fsckobjects = true
[gpg]
program = gpg2
[filter "lfs"]
clean = git-lfs clean -- %f
process = git-lfs filter-process
required = true
smudge = git-lfs smudge -- %f
[commit]
gpgsign = false
[github]
user = qbit
[sendemail]
smtpserver = mail.messagingengine.com
smtpuser = qbit@fastmail.com
smtpAuth = PLAIN
smtpEncryption = tls
smtpserverport = 587
cc = aaron@bolddaemon.com
confirm = auto
[include]
path = ~/work/git/gitconfig
[credential]
helper = netrc