0

I am currently trying to use the command git push origin test but an error keeps popping up. The error is:

fatal: 'origin' 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.

Please help

E. Zacarias
  • 598
  • 6
  • 19

1 Answers1

1

First of all, you must have a repository if you want your repository to be able to push/pull/fetch/merge.

git init

Add the remote branch as the origin.

and now again run the command.

git push origin test

For more details: https://stackoverflow.com/a/15445062/7994074

ParthS007
  • 2,581
  • 1
  • 22
  • 37