How to modify the author of git
This article mainly explains "how to modify the author of git". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to modify the author of git".
When the code is submitted to git, it shows who submitted the commit. If the author is not shown correctly, it will sometimes be embarrassing. Be sure to change user.name and user.email together. Github will use the mailbox prefix as the author's name.
The modification method is as follows:
/ / set global user name and email git config-- global user.name "Author Name" git config-- global user.email "Author Email" / / set local project library git config user.name "Author Name" git config user.email "Author Email". Thank you for reading. This is the content of "how to modify the author of git". After the study of this article, I believe you have a deeper understanding of how to modify the author of git. The specific use situation still needs to be verified by practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!