dotconfig/dot_config/git/config

47 lines
774 B
Text

[user]
email = fanyx@posteo.net
name = Hendrik Boll
signingkey = ~/.ssh/id_ed25519.pub
[gpg]
format = ssh
[gpg.ssh]
allowedSignersFile = ~/.config/git/allowed_signers
[alias]
s = status -sb
ss = s -uno
bs = switch
bc = switch -c
a = add
c = commit
cm = commit -m
d = diff
l = log
sl = log --pretty='format:%h %G? %s%d' -n20 --graph --color
fixup = "!git log -n50 --pretty='format:%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup"
ri = rebase -i
pru = "!git pull -r --autostash upstream $(git remote show upstream | sed -n '/HEAD branch/s/.*: //p')"
[branch]
sort = -committerdate
[color]
diff = auto
[column]
ui = auto
[commit]
gpgsign = true
[credentials]
helper = store
[rebase]
autosquash = true
[tag]
gpgsign = true