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 

 

posted @ 2018-09-27 15:06  一叶*秋  阅读(112)  评论(0编辑  收藏  举报

博客侧边栏公告广告位招租