git远程库的基础操作

1.git remote -v 查看远程库列表
2.git remote add rtname hppt地址 添加远程库别名
3.git push rtname 分支名 提交代码到远程库
4.git pull rtname 分支名 拉取代码到本地
5.git clone http地址 克隆代码到本地库
5.1 初始化本地库
5.2 拉取代码
5.3 添加远程库别名

发布了40 篇原创文章 · 获赞 1 · 访问量 4493

猜你喜欢

转载自blog.csdn.net/hyt182380/article/details/103302903
今日推荐