Skip to content

Instantly share code, notes, and snippets.

@screamingjungle
Created June 12, 2017 10:41
Show Gist options
  • Save screamingjungle/dca0686c855071c2f6e507ee06182f78 to your computer and use it in GitHub Desktop.
Save screamingjungle/dca0686c855071c2f6e507ee06182f78 to your computer and use it in GitHub Desktop.
Only use repo specific user accounts (when dealing with multiple parents)
you can run the following from the command line to get a per-repo email configured:
# Require setting user.name and email per-repo:
$ git config --global user.useConfigOnly true
# Remove email address from global config:
$ git config --global --unset-all user.email
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment