# First time gitr - have some questions

3 messages from 2011-01-24 to 2011-01-24. Participants: toltmanns, Andrew Keller, Matthieu Moy.
Thread: https://gitlist.dev/t/26327

## toltmanns, 2011-01-24 18:20

Subject: First time gitr - have some questions
Message-ID: <1295893245907-5956101.post@n2.nabble.com>
URL: https://gitlist.dev/e/1295893245907-5956101.post%40n2.nabble.com

```

First off, I may be in the wrong place, but I need a sanity check here.

I've downloaded and am attempting to use the git bash app, trying to issue
the following command and am getting fatal: Not a git repository

git submodule add git@github.com:toltmanns/steal.git public/steal

I went through directions here -
http://www.javascriptmvc.com/docs/getstarted.html#&who=install

Made it to creating the github account and forking the codesets needed.

Am I missing something?

Thanks in advance,
Troy Oltmanns
-- 
View this message in context: http://git.661346.n2.nabble.com/First-time-gitr-have-some-questions-tp5956101p5956101.html
Sent from the git mailing list archive at Nabble.com.

```

## Andrew Keller, 2011-01-24 19:28

Subject: Re: First time gitr - have some questions
Message-ID: <71753C67-F692-4CA6-A8BB-39B606D0CC76@kellerfarm.com>
URL: https://gitlist.dev/e/71753C67-F692-4CA6-A8BB-39B606D0CC76%40kellerfarm.com
In-Reply-To: <1295893245907-5956101.post@n2.nabble.com>

```
On Jan 24, 2011, at 1:20 PM, toltmanns wrote:

> First off, I may be in the wrong place, but I need a sanity check here.

Communication is the most efficient way to implement a sanity check.

> I've downloaded and am attempting to use the git bash app, trying to issue
> the following command and am getting fatal: Not a git repository
> 
> git submodule add git@github.com:toltmanns/steal.git public/steal

I like that error because of how few scenarios can cause it.  Your current working directory is not inside a repository.  'cd' into the repository and try again.

~ Andrew Keller

```

## Matthieu Moy, 2011-01-24 20:55

Subject: Re: First time gitr - have some questions
Message-ID: <vpq39oit425.fsf@bauges.imag.fr>
URL: https://gitlist.dev/e/vpq39oit425.fsf%40bauges.imag.fr
In-Reply-To: <1295893245907-5956101.post@n2.nabble.com>

```
toltmanns <toltmanns@gmail.com> writes:

> First off, I may be in the wrong place, but I need a sanity check here.
>
> I've downloaded and am attempting to use the git bash app, trying to issue
> the following command and am getting fatal: Not a git repository
>
> git submodule add git@github.com:toltmanns/steal.git public/steal

> I went through directions here -
> http://www.javascriptmvc.com/docs/getstarted.html#&who=install

That page says, just above the command you're trying:

  "You want to fork each project and add it as a submodule to your
   project"

which you should read as

  "At this point, you should have a Git project (i.e. repository) of
  your own, and you can add our projects as subprojects of yours"

which probably implies that you should read some Git tutorial to learn
how to deal with your own project before trying to understand
submodules ;-).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

```
