我只是克隆的存储库,我能够做一个git commit -m
,但我不能做一个git push
,因为我收到一个错误:推目标错误
No configured push destination. Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
我是一个该存储库的管理员,但它最初是别人的回购。我该如何解决这个问题?
我得到这个︰致命︰'起源'似乎不是一个混帐存储库 致命︰无法读取远程存储库。 请确保您拥有正确的访问权限 并存在存储库。 – shreyashirday
@ user3140562你是如何克隆这个回购的? 'git remote -v'的输出是什么? – kaman
@ user3140562 - 非常奇怪。这些错误不应该发生在克隆的repo上。 – manojlds