我在某个地方的GitHub上有我的项目git@github.com:myname/oldrep.git.
git@github.com:myname/oldrep.git
现在我想将我的所有代码推送到其他位置的新存储库中git@github.com:newname/newrep.git.
git@github.com:newname/newrep.git
我使用了命令:
git remote add origin git@github.com:myname/oldrep.git
但我收到了这个:
致命的:远程起源已经存在.
git github git-push git-remote
git ×1
git-push ×1
git-remote ×1
github ×1