git: Allow for commit signing with ssh keys
Also move includeed gitconfigs to .config/git/suconfigs dir.
This commit is contained in:
parent
772be9bc74
commit
ed12ec088b
3 changed files with 11 additions and 6 deletions
1
.config/environment.d/30-ssh.conf
Normal file
1
.config/environment.d/30-ssh.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gcr/ssh
|
|
@ -37,6 +37,9 @@
|
||||||
[diff]
|
[diff]
|
||||||
submodule = log
|
submodule = log
|
||||||
|
|
||||||
|
[gpg "ssh"]
|
||||||
|
allowedSignersFile = ~/.config/git/allowed_signers
|
||||||
|
|
||||||
[grep]
|
[grep]
|
||||||
lineNumber = true
|
lineNumber = true
|
||||||
extendRegexp = true
|
extendRegexp = true
|
||||||
|
@ -53,22 +56,22 @@
|
||||||
rebase = true
|
rebase = true
|
||||||
|
|
||||||
[includeIf "gitdir:~/Documents/Uni/"]
|
[includeIf "gitdir:~/Documents/Uni/"]
|
||||||
path = ~/.gitconfigs/.gitconfig-uni
|
path = ~/.config/git/subconfigs/uni
|
||||||
|
|
||||||
[includeIf "gitdir:~/Repositories/uni/"]
|
[includeIf "gitdir:~/Repositories/uni/"]
|
||||||
path = ~/.gitconfigs/.gitconfig-uni
|
path = ~/.config/git/subconfigs/uni
|
||||||
|
|
||||||
[includeIf "gitdir:~/Repositories/gitlab_com/"]
|
[includeIf "gitdir:~/Repositories/gitlab_com/"]
|
||||||
path = ~/.gitconfigs/.gitconfig-gitlab_com
|
path = ~/.config/git/subconfigs/gitlab_com
|
||||||
|
|
||||||
[includeIf "gitdir:~/Repositories/saibotk_de/"]
|
[includeIf "gitdir:~/Repositories/saibotk_de/"]
|
||||||
path = ~/.gitconfigs/.gitconfig-saibotk_de
|
path = ~/.config/git/subconfigs/histalek_de
|
||||||
|
|
||||||
[includeIf "gitdir:~/Repositories/histalek_de/"]
|
[includeIf "gitdir:~/Repositories/histalek_de/"]
|
||||||
path = ~/.gitconfigs/.gitconfig-histalek_de
|
path = ~/.config/git/subconfigs/histalek_de
|
||||||
|
|
||||||
[includeIf "gitdir:~/.dotfiles/"]
|
[includeIf "gitdir:~/.dotfiles/"]
|
||||||
path = ~/.gitconfigs/.gitconfig-histalek_de
|
path = ~/.config/git/subconfigs/histalek_de
|
||||||
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
|
1
.gnupg/gpg-agent.conf
Normal file
1
.gnupg/gpg-agent.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pinentry-program /usr/bin/pinentry-gnome3
|
Loading…
Add table
Reference in a new issue