为什么 `git pull` 工作得很好,而 `git push` 却不行?

Why is `git pull` working perfectly fine, but `git push` does not?

我一直在从这个 repo 中拉取,最近我有一些我想推送的更改,所以我尝试了通常的 git push origin master,结果发现它不起作用:

19:02 $ git push origin master
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

但我可以从回购中提取:

19:02 $ git pull origin master
From <url>
* branch            master     -> FETCH_HEAD
Already up-to-date.

我知道这一定是正确的,因为我会拉。根据我的管理员(我问过这个问题)的说法,我拥有开发者权限,这意味着我应该能够拉和推。可能是什么问题?

如果您使用的是 github、bitbucket 或类似软件,这很可能与过时的 git 版本或存储库中缺少访问权限有关。