Skip to content

Instantly share code, notes, and snippets.

@JamesGardiner
Created March 17, 2023 09:45
Show Gist options
  • Save JamesGardiner/1d0551997c7a0901096a617487718a96 to your computer and use it in GitHub Desktop.
Save JamesGardiner/1d0551997c7a0901096a617487718a96 to your computer and use it in GitHub Desktop.
Set up local work config for Git
git config -f ~/.gitconfig-work user.email <your.work@email.com>
git config -f ~/.gitconfig-work user.signingkey <your.signing.key>
git config --global "includeIf.gitdir:~/work/.path" "~/.gitconfig-work"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment