Skip to content

Instantly share code, notes, and snippets.

@driedtoast
Created May 31, 2019 13:14
Show Gist options
  • Save driedtoast/5e0b51f4b22a073e92af3b54d8d86120 to your computer and use it in GitHub Desktop.
Save driedtoast/5e0b51f4b22a073e92af3b54d8d86120 to your computer and use it in GitHub Desktop.
[user]
name = <Name>
email = <work email>
signingkey = <add your key id here>
[credential]
helper = cache --timeout=86400
[includeIf "gitdir:~/workspaces/my/"]
path = ~/.gitconfig-personal
[includeIf "gitdir:~/workspaces/opensource/"]
path = ~/.gitconfig-personal
[commit]
gpgsign = true
[push]
gpgsign = if-asked
[gpg]
program = /usr/local/bin/gpg
[user]
name = Daniel
email = <personal email>
signingkey = <personal key id>
[commit]
gpgsign = true
[push]
gpgsign = if-asked
[gpg]
program = /usr/local/bin/gpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment