设置Git用户名和邮箱 Posted on 2017-12-12 Edited on 2021-12-01 In Accessories Disqus: 为所有Repository设置统一的用户名和邮箱12$ git config --global user.name "Rick"$ git config --global user.email "myslsh_2015@163.com" 为当前Repository单独设置用户名和邮箱12$ git config user.name "User"$ git config user.email "user@example.com" 查看全局设置12$ git config --global user.name$ git config --global user.email 查看当前设置12$ git config user.name$ git config user.email