feat(misc): git

This commit is contained in:
kirby 2025-07-31 16:36:41 +02:00
parent ea32d22dd3
commit e4359ca7f9

23
misc/git/config.md Normal file
View File

@ -0,0 +1,23 @@
### Git config path specific
``` ~/.gitconfig
[includeIf "gitdir:~/git/"]
path = ~/git/.gitconfig-work
[includeIf "gitdir:~/perso/"]
path = ~/perso/.gitconfig-perso
[includeIf "gitdir:~/github/"]
path = ~/github/.gitconfig-github
[core]
editor = vim
[user]
signingkey = /home/seb/.ssh/id_ed25519.pub
[gpg]
format = ssh
```
``` ~/.gitconfig-github
[user]
email = ex@example.com
mail = ex@example.com
name = Test
username = Test
```