Git
is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Git
is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.
1 Setting your username in Git
Git
uses a username to associate commits with an identity. The Git
username is not the same as your GitHub/Bitbucket username.
You can change the name that is associated with your Git
commits using the git config command.
The new name you set will be visible in any future commits you push to GitHub from the command line.
If you'd like to keep your real name private, you can use any text as your Git
username.
Changing the name associated with your Git
commits using git config will only affect future commits
and will not change the name used for past commits.
$ git config --global user.name "Mona Lisa"
2 Configure eclipse user.name
- Click Window > Preferences > Team > Git > Configuration
- Click Add Entry and enter the key value pairs:
- Key: user.name Value: YourUsernameHere
- Key: user.email Value: YourEmailHere