查看远程连接 git remote -v git取消与远程仓库的连接 git remote remove origin 重新连接远程仓库 git remote add origin 仓库地址 第一次提交到远程仓库 git push -u origin