Not a git repository (or any of the parent directories): .gi

Open Source forum

Not a git repository (or any of the parent directories): .gi

Postby John » Thu Feb 06, 2014 8:00 pm

When i tried to use git repository i got following error.
Code: Select all
Not a git repository (or any of the parent directories): .git

If anyone could help me with this, then that would be great, thanks.
Last edited by John on Thu Feb 06, 2014 8:00 pm, edited 1 time in total.
John Abraham
John
 
Posts: 419
Joined: Wed Jun 05, 2013 9:15 pm

Re: Not a git repository (or any of the parent directories):

Postby John » Thu Feb 06, 2014 8:00 pm

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

Are you in the right directory? Does typing ls show the right files?
Have you initialized the repository yet? Typed git init
Either of those would cause your error
John Abraham
John
 
Posts: 419
Joined: Wed Jun 05, 2013 9:15 pm


Return to Open Source

cron