Use the command line to modify the git username and email address

1. Open the local command line tool (windows system directly use the shortcut key Window+r, then enter and exit cmd and press Enter)

2. Enter git config --list to view related information

3. Enter git config --global --replace-all user.email "my email"

4. Enter git config --global --replace-all user.name "my username"

5. Enter git config --list to see if the modification is successful

Guess you like

Origin blog.csdn.net/weixin_44191318/article/details/126059266