git change user for repo code example
Example 1: change user in git repository
git config user.email "[email protected]"
git config user.name "Your Name"
git config user.password "your password"
Example 2: git change user for single repo
$ git config user.name "John Doe"