添加远程仓库地址


git remote add 名称 url


pull或push时 指定仓库名称


git push 仓库名称
git pull 仓库名称
查看已关联的远程仓库



git remote -v
取消远程仓库关联



git remote remove 名称