feat(misc): git
This commit is contained in:
parent
ea32d22dd3
commit
e4359ca7f9
23
misc/git/config.md
Normal file
23
misc/git/config.md
Normal 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
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user