Introduction
This example runs on Windows.
Steps
# Config file locations: $ cd C:\Users\<name>\.gitconfig $ cd C:\Users\<name>\path_to_github_project\.git\config
# Set up global user $ git config --global user.name "Your_Name_001" $ git config --global user.email "Your_Email_001" # Set up local user and ssh key $ cd /path_to_your_project $ git config user.name "Your_Name_002" $ git config user.email "Your_Email_002" $ git config --local --add core.sshCommand 'ssh -i ~/.ssh/Your_SSH_Private_Key_002'

Comments
Post a Comment