I am having this wierd issue with Git. This is what I did:
- I created a new project in VS Community 2017
- From Git Bash, I did
git init
in the root directory of my new created project - I added new files and did some coding
- I created a new repository MVVM_Template (same as the local project name) on my github account
- I followed the instructions in Adding an existing project to GitHub using the command line
Result:
Me@MyPC MINGW64 ~/source/repos/MVVM_Template (master)
$ git remote add origin https://github.com/MeOnGithub/MVVM_Template.git
fatal: remote origin already exists.
Me@MyPC MINGW64 ~/source/repos/MVVM_Template (master)
$ git push -u origin master
remote: Repository not found.
fatal: repository 'https://github.com/MeOnGithub/MVVM-Template.git/' not found
So remote origin already exists, but Repository not found.
How can I resolve this?