Dmy*_*lyk 89 eclipse git eclipse-plugin author egit
我正在使用Eclipse的Git插件.我开始输入这些字段时会显示几个作者和提交者.
如何更改此列表,或删除某些作者或提交者?
另外我想设置默认显示的默认作者和提交者.

Gui*_*cia 147
单击" 添加条目"并输入键值对:
价值:YourUsernameHere
和
GoZ*_*ner 15
每个开发人员应执行:
git config --global user.name "<name of user>"
git config --global user.email "<email of user>"
Run Code Online (Sandbox Code Playgroud)
如果要更改现有提交的作者,请查看此处
rob*_*nst 14
EGit应该在你第一次提交的时候问你.但是你可以随时更改它,请看这里:http://wiki.eclipse.org/EGit/User_Guide#Identifying_yourself
您可以git config使用--global标志运行" "命令; 这将确保您所有未来的提交都使用给定的信息:
$ git config --global user.name "John Doe"
$ git config --global user.email "john@doe.org"
Run Code Online (Sandbox Code Playgroud)
如果只想在某个存储库中工作时才使用特殊设置,则可以省略该--global标志.这使配置仅在该存储库中有效:
$ git config user.name "John Doe"
$ git config user.email "john@doe.org"
Run Code Online (Sandbox Code Playgroud)
Git Cheatsheet:git for dummies