add gitconfig

This commit is contained in:
deneb 2025-03-17 22:27:13 +01:00
parent 2cc133537a
commit c7b734ecd1
3 changed files with 30 additions and 0 deletions

24
.gitconfig Normal file
View file

@ -0,0 +1,24 @@
[user]
name = deneb
email = deneb@screee.ee
signingkey = /home/deneb/.ssh/id_ed25519.pub
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[gpg]
format = ssh
[alias]
pfusch = push --force-with-lease
lclone = clone --filter=blob:none
addp = add --patch
[includeIf "hasconfig:remote.*.url:https://github.com:*/**"]
path = ~/.gitconfig.github
[includeIf "hasconfig:remote.*.url:git@github.com:*/**"]
path = ~/.gitconfig.github
[includeIf "hasconfig:remote.*.url:https://gitlab.com:*/**"]
path = ~/.gitconfig.github
[includeIf "hasconfig:remote.*.url:git@gitlab.com:*/**"]
path = ~/.gitconfig.github

3
.gitconfig.github Normal file
View file

@ -0,0 +1,3 @@
[user]
name = DenebTM
email = deneb@screee.ee

3
.gitconfig.gitlab Normal file
View file

@ -0,0 +1,3 @@
[user]
name = DenebTM
email = deneb@screee.ee