Skip to content

Instantly share code, notes, and snippets.

@AGhost-7
Created May 21, 2017 21:17
Show Gist options
  • Save AGhost-7/e057646ec417ca1cc9f2b8769a0e7360 to your computer and use it in GitHub Desktop.
Save AGhost-7/e057646ec417ca1cc9f2b8769a0e7360 to your computer and use it in GitHub Desktop.
Configure git to use a different github account at the repository level
git clone [email protected]:AGhost-7/sheet-cli
cd sheet-cli
git config user.name 'AGhost-7'
git config user.email '[email protected]'
git config core.sshCommand 'ssh -i ~/.ssh/github_aghost -F /dev/null'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment