美文网首页
git修改远程仓库地址

git修改远程仓库地址

作者: hoggenWang | 来源:发表于2016-09-25 20:04 被阅读783次

    修改的话

    git remote origin set-url [url]
    

    如果你想先删后加的话

    git remote rm origin
    git remote add origin [url]
    

    查看用户名和邮箱地址:

    git config user.name
    git config user.email
    

    修改提交的用户名和Email

    git config --global user.name "Your Name"  
     git config --global user.email you@example.com
    

    相关文章

      网友评论

          本文标题:git修改远程仓库地址

          本文链接:https://www.haomeiwen.com/subject/amvfyttx.html