GitCommand
Set User Name
Type this command
git config --global user.name "Your Name"Sets the name recorded on your commits.
The Git command to set user name is git config --global user.name "Your Name".
git config --global user.name "Your Name"git config --global user.name "Your Name"Sets the name recorded on your commits.
Run git config --global user.name "Your Name".
Run git config --global user.name "Your Name".
Type it in the terminal or command-line interface used by Git.
Yes. The command text is the same on both platforms when the tool is installed.