Change Git Author Information in Visual Studio

I have a team project in Visual Studio Team Services and I'm using git as a version control system.

Is it possible to change the author name and email of the commits in Visual Studio website ?


Your author name and email address is bound to your commits and mostly taken from your global Git settings, not your VSTS account. Change your display info through Team Explorer > Settings > Repository Settings .

Git名称和电子邮件


In case you want to change it through Git shell:

To set your username for a specific repository, enter the following command in the root folder of your repository:

git config user.name "Billy Everyteen"
# Set a new name
git config user.name
# Verify the setting
Billy Everyteen

Source


EDIT: Just noticed you're talking about existing commits, take a look at Change commit author at one specific commit.

链接地址: http://www.djcxy.com/p/49886.html

上一篇: 在Github上删除<user>提交的<user>

下一篇: 在Visual Studio中更改Git作者信息