git push origin master does not work

Although, I could commit my change locally, I can not push to origin master

I run

$ git remote add origin [email protected]:username/test.git

I get

fatal: remote origin already exists.

I run

$ git push -u origin master

I get

ERROR: Repository not found.
fatal: The remote end hung up unexpectedly

What’s wrong with this?

Leave a Comment