1, first open the cmd window, and then update the data git config --global user.name "username" git config --global user.email "mailbox" 2, viewing, display configuration information git config --list
![](https://img2018.cnblogs.com/blog/932875/201912/932875-20191208155150176-1408151587.jpg)
1, first open the cmd window, and then update the data git config --global user.name "username" git config --global user.email "mailbox" 2, viewing, display configuration information git config --list