You've already forked dotfiles
feat: Adding settings for git to use GPG signing
This commit is contained in:
@@ -103,3 +103,6 @@ The config adds the following settings outside of oh-my-zsh:
|
|||||||
The gitconfig, centered on nvim integration, gives contains a selection of useful aliases and sets some basic defaults.
|
The gitconfig, centered on nvim integration, gives contains a selection of useful aliases and sets some basic defaults.
|
||||||
|
|
||||||
It also includes a local override config hosted at `~/.config/git/local` for adding username and email as well as any other options needed for a local machine.
|
It also includes a local override config hosted at `~/.config/git/local` for adding username and email as well as any other options needed for a local machine.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> For signing support put the `gpgsign` option in the local gitconfig
|
||||||
|
|||||||
@@ -40,4 +40,7 @@
|
|||||||
[include]
|
[include]
|
||||||
path = ~/.config/git/local
|
path = ~/.config/git/local
|
||||||
|
|
||||||
|
[commit]
|
||||||
|
gpgsign = true
|
||||||
|
|
||||||
# vim: ft=gitconfig
|
# vim: ft=gitconfig
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export MANPAGER="less -R --use-color -Dd+r -Du+b" # Colored MAN pages
|
export MANPAGER="less -R --use-color -Dd+r -Du+b" # Colored MAN pages
|
||||||
export DOCKER_DEFAULT_PLATFORM=linux/amd64
|
export DOCKER_DEFAULT_PLATFORM=linux/amd64
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
|||||||
Reference in New Issue
Block a user