$ git remote add origin git@github.com:lut/EvolutionApp.git
fatal: remote origin already exists.
$ git push -u origin master
fatal: \'EvolutionApp\' does not appear
You might have to add the remote again. That error message happens when Git doesn't know where to push to.
Use git remote -v
check if the remote exists, if not, add it.
Even then if it doesn't work try removing the GIT_SSH
environment variable, this maybe causing the problem.
check if you are using https
as remote url instead of ssh
.
I set my remote url to http
and encountered this issue. After resetting the url to ssh
protocol the problem is gone.
This can happen if you have an incomplete remote entry in your global config.
Run git config -e --system
, comment out any [remote
entries, re-add the remote, and try again.
Try and redefine the ssh url for remote origin:
git remote set-url origin git@github.com:lut/EvolutionApp.git
And try again