git: initial config, sign keys osiris & nihil

This commit is contained in:
fanyx 2025-03-16 15:58:46 +01:00
parent 60a5574d3b
commit 6b58b62d43
Signed by: fanyx
SSH key fingerprint: SHA256:Gwc2cuQkLEIzOapSR+R8raHvC1bSAkPsYuPqlPoFlD8
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,2 @@
fanyx@posteo.net namespaces="git" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIED2cYmICgFveAdDIK1Ag/k5Rd+xtGRX7vTnCaDXiU75
fanyx@posteo.net namespaces="git" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAlQpuuo49x9bAKEBCTNIPHD1V/dhUu/QBc87XdvyC+H hendrik@nihil

47
dot_config/git/config Normal file
View file

@ -0,0 +1,47 @@
[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