2021-04-17 06:49:53 +00:00
|
|
|
[core]
|
2021-09-22 09:42:45 +00:00
|
|
|
editor = nv
|
|
|
|
autocrlf = input
|
2022-03-13 05:06:49 +00:00
|
|
|
excludesfile = ~/.gitignore_global
|
2021-09-22 09:42:45 +00:00
|
|
|
pager = diff-so-fancy | less --tabs=4 -RFX
|
2021-04-17 06:49:53 +00:00
|
|
|
|
|
|
|
[user]
|
2022-03-13 05:06:49 +00:00
|
|
|
name = hedy
|
2021-09-22 09:42:45 +00:00
|
|
|
email = hedy@tilde.cafe # email overidden in [include]
|
|
|
|
signingkey = B51B5A8D1B176372 # and this
|
2021-04-17 06:49:53 +00:00
|
|
|
|
2021-09-07 09:54:09 +00:00
|
|
|
[init]
|
|
|
|
# I don't want people to complain and main is shorter to type so yeah
|
|
|
|
defaultBranch = main
|
|
|
|
|
2021-04-17 06:49:53 +00:00
|
|
|
[alias]
|
2021-09-26 13:28:14 +00:00
|
|
|
s = status
|
|
|
|
c = commit
|
|
|
|
b = branch
|
2022-03-13 05:06:49 +00:00
|
|
|
a = add
|
2022-03-29 04:23:09 +00:00
|
|
|
unadd = restore --staged
|
2021-09-26 13:28:14 +00:00
|
|
|
ls-alias = config --get-regexp alias
|
|
|
|
l = log --oneline
|
|
|
|
ll = log
|
|
|
|
ss = status -s
|
|
|
|
ch = checkout
|
|
|
|
chb = checkout -b
|
2023-06-30 14:12:25 +00:00
|
|
|
mylog = log --pretty=format:'%C(white)%h %C(blue)%an %C(green)%as %C(white)"%s"'
|
2021-09-26 13:28:14 +00:00
|
|
|
lgraph = log --oneline --graph --decorate --all
|
|
|
|
brd = branch -d
|
|
|
|
fame = !python3 -m gitfame
|
|
|
|
p = push
|
2022-03-29 04:23:09 +00:00
|
|
|
cam = commit -am # rarely used; cav and cv are now my best friends :>
|
|
|
|
cav = commit -av
|
|
|
|
cv = commit -v
|
2022-11-10 13:21:24 +00:00
|
|
|
cm = commit -m
|
2022-03-29 04:23:09 +00:00
|
|
|
coops = commit --amend --no-edit # commit... oops!
|
2021-09-26 13:28:14 +00:00
|
|
|
pushall = !git remote | xargs -L1 git push --all
|
2021-09-22 09:42:45 +00:00
|
|
|
# Same as pushall but not for all branches
|
|
|
|
pall = !git remote | xargs -L1 git push
|
2022-03-13 05:06:49 +00:00
|
|
|
d = diff
|
|
|
|
ds = diff --staged
|
2021-04-17 06:49:53 +00:00
|
|
|
|
|
|
|
[credential]
|
2021-09-22 09:42:45 +00:00
|
|
|
helper = store --file="$HOME/.git_creds"
|
|
|
|
helper = cache --timeout 90000
|
2021-04-17 06:49:53 +00:00
|
|
|
|
|
|
|
[help]
|
2021-09-22 09:42:45 +00:00
|
|
|
autocorrect = 30
|
2021-04-17 06:49:53 +00:00
|
|
|
|
|
|
|
[pull]
|
2021-09-22 09:42:45 +00:00
|
|
|
rebase = false
|
2021-04-17 06:49:53 +00:00
|
|
|
|
2021-06-26 23:59:11 +00:00
|
|
|
[commit]
|
2024-04-05 07:10:42 +00:00
|
|
|
gpgsign = true
|
2021-06-26 23:59:11 +00:00
|
|
|
|
2022-03-13 05:06:49 +00:00
|
|
|
# sendmail config in [include]
|
2021-04-17 06:49:53 +00:00
|
|
|
|
|
|
|
[include]
|
2021-09-22 09:42:45 +00:00
|
|
|
path = ~/.gitconfig-local
|
2021-04-17 06:49:53 +00:00
|
|
|
|
|
|
|
# diff-so-fancy
|
|
|
|
[color]
|
2021-09-22 09:42:45 +00:00
|
|
|
ui = true
|
2021-04-17 06:49:53 +00:00
|
|
|
[color "diff-highlight"]
|
2021-09-22 09:42:45 +00:00
|
|
|
oldNormal = red bold
|
|
|
|
oldHighlight = red bold 52
|
|
|
|
newNormal = green bold
|
|
|
|
newHighlight = green bold 22
|
2021-04-17 06:49:53 +00:00
|
|
|
[color "diff"]
|
2021-09-22 09:42:45 +00:00
|
|
|
meta = 11
|
|
|
|
frag = magenta bold
|
|
|
|
commit = yellow bold
|
|
|
|
old = red bold
|
|
|
|
new = green bold
|
|
|
|
whitespace = red reverse
|
2021-07-16 05:27:49 +00:00
|
|
|
[push]
|
2021-09-22 09:42:45 +00:00
|
|
|
followTags = true
|