1. 查看用户名和邮箱地址:
    $ git config user.name
    $ git config user.email

     

  2. 修改用户名和邮箱地址:
    $ git config --global user.name "username"
    
    $ git config --global user.email "email"

     

相关文章: