origin远程仓库的地址错误,需要重新设定新的远程仓库地址: git remote set-url origin 你新的远程仓库地址 然后重新上传就ok了 $ git push -u origin master