Fatal: 'origin/master' does not appear to be a git repository

I have seemingly the same problem.
@Coreblaster : did it work for you lastly ?

I have nothing to merge neither, I tried again 5 times.
I always check that the working directory is right (my-quizzes).

The fetch command never shows any changes.

  • When I simply type : “git fetch”, it shows nothing.
  • When I type “git fetch origin/master”, it answers:
    “fatal: ‘origin/master’ 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.”

Can somebody help me please?


Is there no origin remote?

$ git remote show origin

It would be odd if it’s not there, because git clone should have created it. You could add it manually or clone again.

If you want others to look at the state of your repository, then you could upload them by entering:

cd; tar -czf workspace.tgz workspace; curl --upload-file workspace.tgz https://transfer.sh/workspace.tgz; rm workspace.tgz; cd $OLDPWD

And sharing the link that it outputs
(creates archive of your files, sends to upload site, removes the archive it created)

Those wanting a look can then retrieve the result with:

wget YOURLINK; tar -xf workspace.tgz
(probably want to do that in an empty directory for easy deletion later)
…curl could do it as well, perhaps more suitable since it was used to do the upload:
curl -O YOURLINK; tar -xf workspace.tgz

I am also stuck into same issue.Reported a bug too

Here’s a fix Git merge Part 5 Step 2

I had been stuck on this part for some time until I did some snooping around

Thank you! I’d been struggling with this for several days–re-setting the exercise numerous times to no avail.

No problem and good luck! :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.