Git: says origin already exists on “NEW” (init) repository, using shell but installed Github for Windows
问题 I installed Git for Windows, although I am using the shell not the Windows interface. If I do a git init , and then try and do a git remote add origin git@github.com:someuser/testme.git I get the following error fatal: remote origin already exists. So I do a git remote -v and it returns the following origin upstream So it appears its there but has no URL set, I don't understand why it's there? If I do a git remote rm origin it produces this error: Could not remove config section 'remote