1.設置用戶名
$ git config --global user.name "yourname"
2.設置用戶郵箱
$ git config --global user.email [email protected]
3.查看git設置列表信息
$ git config --list
4.查看用戶名
$ git config user.name
1.設置用戶名
$ git config --global user.name "yourname"
2.設置用戶郵箱
$ git config --global user.email [email protected]
3.查看git設置列表信息
$ git config --list
4.查看用戶名
$ git config user.name