Skip to contentSkip to conversation

First time gitr - have some questions

DISCUSSION toltmanns 3 participants 3 messages Jun 15, 2016

lore
Share & tools
lore

toltmanns

author
#0 lore raw

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 [email protected]: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

Signature · 2 lines
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.
#1 lore raw
Quoted 1 line · toltmanns

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.

Quoted 4 lines

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 [email protected]: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

#2 lore raw
In reply to toltmanns
Quoted 9 lines · toltmanns

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 [email protected]: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 ;-).

Signature · 2 lines
Matthieu Moy
http://www-verimag.imag.fr/~moy/