Set User Configuration In Git

Set user details globally.

git config --global user.name "My Name"
git config --global user.email [email protected]

Set user details for a single repository.

git config user.name "My Name"
git config user.email [email protected]

 

Add new comment

The content of this field is kept private and will not be shown publicly.