git操作

查询用户名及邮箱

 $ git config user.name

   $ git config user.email

设置用户名及邮箱

 $ git config --global user.name "xxx"

 $ git config --global user.email "xxx"

修改远程仓库路径

   git remote rm origin
   git remote add origin https://github.com/boonook/zhdj.git 
原文地址:https://www.cnblogs.com/boonook/p/9713165.html