I have a repository myrepo
but when I try to fetch it, I cannot. This repository exists on Github as well. Fetching origin/myrepo
causes an error as well.
Here is the error:
$ git fetch myrepo
fatal: 'myrepo' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
$ git fetch origin/myrepo
fatal: 'origin/myrepo' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
$ git branch
calendar
master
* myrepo
routes
Clearly, as per the last command, the directory exists.