1.查看當(dāng)前git賬號(hào)
$ git config user.name
$ git config user.email
2.切換賬號(hào)
$ git config --global user.name zhangsan //zhangsan為github賬號(hào)昵稱
$ git config --global user.email xxxxxx@163.com //郵箱地址
1.查看當(dāng)前git賬號(hào)
$ git config user.name
$ git config user.email
2.切換賬號(hào)
$ git config --global user.name zhangsan //zhangsan為github賬號(hào)昵稱
$ git config --global user.email xxxxxx@163.com //郵箱地址