目录
gitremote (查看远程仓库)
git remote add [仓库名] [url]
git clone [url](克隆远程仓库到本地)
git push [名][分支名](提交到远程仓库)编辑
git pull [名][分支名]从远程仓库拉取编辑
![](https://img-blog.csdnimg.cn/direct/aa5ccbd3e80c4f2bb64f56de77269ab8.png)
注意操作目录
gitremote (查看远程仓库)
![](https://img-blog.csdnimg.cn/direct/f947c07a792844db8dc6957c9a839170.png)
![](https://img-blog.csdnimg.cn/direct/225f9081aa8c47f4a9244286a6f50072.png)
git remote add [仓库名] [url]
![](https://img-blog.csdnimg.cn/direct/90934b94b3994a16b284a322e6dcd552.png)
注意:远程仓库要存在 别名加地址
git clone [url](克隆远程仓库到本地)
![](https://img-blog.csdnimg.cn/direct/9cdec0bc37904d818b499f8155aba376.png)
git push [名][分支名](提交到远程仓库)![](https://img-blog.csdnimg.cn/direct/b4504291709c4b278114349a69b28870.png)
git pull [名][分支名]从远程仓库拉取![](https://img-blog.csdnimg.cn/direct/ff945ab1e4e4427e88a56436bf7567b9.png)