Created
March 17, 2023 09:45
-
-
Save JamesGardiner/1d0551997c7a0901096a617487718a96 to your computer and use it in GitHub Desktop.
Set up local work config for Git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config -f ~/.gitconfig-work user.email <[email protected]> | |
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