First time using Git.

Appearing "Fatal: Not a git repository (or any of the parent directories): .git

Working on it long but not solution found.

Some idea?

Thx in advance.

Comments

eliza411’s picture

Status: Active » Postponed (maintainer needs more info)

Are you following the instructions on the Version control tab?

You'll need to provide, at a minimum, the project you're working with, the command you used to clone the repo, the path to the repository, the path to where you are when you issue the Git command that's returning the message above, and the command you're issuing. There's just not enough here to help you yet.

raulmuroc’s picture

As I am novice, I did not know that I have to clone or initialize a repository. I am gonna follow: http://raulmuroc.blogspot.com/2011/07/git-getting-git-repository.html and I am giving feeback.

and also the points which you marked.

Thanks eliza411.

raulmuroc’s picture

1) The project you're working with --> Prev/Next api (module)
2) The command you used to clone the repo --> git clone http://www.kernel.org/pub/scm/git.git extracted from URL said before.
3) The path to the repository --> I do not know.. is it done automatically... doesn't it?
4) The path to where you are when you issue the Git command that's returning the message above --> Any
5) The command you're issuing --> git branch

I cloned following: http://raulmuroc.blogspot.com/2011/07/git-getting-git-repository.html

I want to create patch following: http://drupal.org/node/707484

Hope it is enough.

I am novice, I do not catch this methodology of clone or get repository, what does it contain? what is it useful for?

Thanks, apologizing for misunderstand it.

eliza411’s picture

Status: Postponed (maintainer needs more info) » Active

To work with a Drupal module, try following directions on that module's Version control tab, in your case: http://drupal.org/node/456850/git-instructions

eliza411’s picture

Status: Active » Fixed

This looks safe to close after a year. If I'm mistaken, please re-open.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.