Trying to make a simple change to a Git repository, privately hosted
with GitHub. I cloned the repository, made the change and went to push it up for
review. The git push
didn't succeed and I thought maybe I had fat fingered the
remote URL when I cloned the repository (but that couldn't be right because
I'd successfully cloned the repository, right?). I tried removing and
re-adding the remote but pushing still fails:
To illustrate the problem:
% git remote -v
origin https://github.com/our-organisation/some-repository.git (fetch)
origin https://github.com/our-organisation/some-repository.git (push)
% git fetch -v origin
From https://github.com/our-organisation/some-repository
= [up to date] MO_Adding_ECS_configs -> origin/MO_Adding_ECS_configs
= [up to date] update_gems -> origin/update_gems
% git push -v origin
Pushing to https://github.com/our-organisation/some-repository.git
remote: Repository not found.
fatal: repository 'https://github.com/our-organisation/some-repository.git/' not found
[Some names may have been changed.]
Why does GitHub say, "Repository not found" when the remote URL is correct?