When I tried to push an existing repository on github.com, and it when I entered the command the website prompted me to put into the terminal, I got this error message fatal:
Not a git repository (or any of the parent directories): .git
If anyone could help me with this, then that would be great, thanks.
This question is related to
git
The command has to be entered in the directory of the repository. The error is complaining that your current directory isn't a git repo
ls
show the right files?git init
? (git-init documentation)Either of those would cause your error.
Source: Stackoverflow.com