When I tried lớn push an existing repository on github.com, and it when I entered the command the trang web prompted bu lớn 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 bu with this, then that would be great, thanks.
asked Dec 6, 2013 at 0:09
user3072482user3072482
4,7793 gold badges15 silver badges5 bronze badges
5
The command has lớn be entered in the directory of the repository. The error is complaining that your current directory isn't a git repo
- Are you in the right directory? Does typing
ls
show the right files? - Have you initialized the repository yet? Typed
git init
? (git-init documentation)
Either of those would cause your error.
ΩmegaMan
31.4k12 gold badges107 silver badges133 bronze badges
answered Dec 6, 2013 at 0:13
daniel gratzerdaniel gratzer
53.8k11 gold badges99 silver badges136 bronze badges
14