首页 > 其他 > 详细

git remote使用

时间:2020-04-16 15:48:46      阅读:59      评论:0      收藏:0      [点我收藏+]

1.添加远端仓库

git remote add origin https://github.com/user/repo.git

2.查看远端仓库

git remote -v

3.更改远端仓库URL,ssh->https

git remote set-url origin https://github.com/USERNAME/REPOSITORY.git

4.重命名远端仓库

git remote rename origin destination

5.删除远端仓库

git remote rm destination

git remote使用

原文:https://www.cnblogs.com/tomtellyou/p/12713004.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!