3
1
I'm following the instructions on importing an existing .git repository to GitHub.
When trying to add the .git repository to GitHub, I get the following error:
fatal: Not a git repository (or any of the parent directories): .git
I Googled it and that seems to mean the repository doesn't exist. However, Git GUI quite happily opens the same .git repository.
I've copy-pasted both the address to cd to and the command line to get my (existent) .git repository onto GitHub - No dice. I tested the ssh connection to GitHub; works perfectly ("You've successfully authenticated, but..." etc.).
Any ideas on what might be wrong or how to fix it?
So apparently you can't use the command prompt to update to GitHub (and possibly doesn't work well with Git at all); you have to use Git Bash.
That explains that. – Narf the Mouse – 2011-05-14T07:31:09.017
If this answered your question, you can put it as an answer below - you can also accept it in two days. – slhck – 2011-05-14T08:13:13.293