eclipse + git 切换远程仓库地址

先看命令,第3步骤进行视图化步骤:
1、切换远程仓库地址:
  • 方式一:修改远程仓库地址

      更换远程仓库地址:git remote set-url origin URL    =》URL为新地址。

  • 方式二:先删除远程仓库地址,然后再添加

      删除现有远程仓库:git remote rm origin
      添加新远程仓库:git remote add origin url

2、查看远程仓库的地址:git remote -v
3、eclipse操作

         打开Terminal=》弹出对话框点击ok =》显示对应的操作窗口

接下来就可以为所欲为了,git命令随便用


猜你喜欢

转载自blog.csdn.net/kaola_l/article/details/79866872