How do I change the default author and committer in the Eclipse Git plugin?
I am using the Git plugin for Eclipse. I have several authors and committers which are displayed when I start typing in those fields.
How can I provide changes to this list, or remove some author or committer?
Also I want to set my default author and committer which will be displayed by default.
Solution 1:
- Click Window > Preferences > Team > Git > Configuration
-
Click Add Entry and enter the key value pairs:
- Key: user.name
-
Value: YourUsernameHere
And
- Key: user.email
- Value: YourEmailHere
Solution 2:
Each developer should perform:
git config --global user.name "<name of user>"
git config --global user.email "<email of user>"
If you want to change the author of an existing commit, look here