一、查看远程仓库git
git remoteip
git remote -vrem
二、添加远程仓库关联 it
git remote add 【name】 【git地址】ast
三、删除远程仓库关联date
git remote rm 【name】远程
四、git push 【name】【分支名】push
五、报错Updates were rejected because the tip of your current branch is behind参数
解决办法:使用容许无关联的历史记录的参数拉取以后再 push分支
git pull origin master --allow-unrelated-histories