* First time gitr - have some questions
@ 2011-01-24 18:20 toltmanns
2011-01-24 19:28 ` Andrew Keller
2011-01-24 20:55 ` Matthieu Moy
0 siblings, 2 replies; 3+ messages in thread
From: toltmanns @ 2011-01-24 18:20 UTC (permalink / raw)
To: git
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: First time gitr - have some questions
2011-01-24 18:20 First time gitr - have some questions toltmanns
@ 2011-01-24 19:28 ` Andrew Keller
2011-01-24 20:55 ` Matthieu Moy
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Keller @ 2011-01-24 19:28 UTC (permalink / raw)
To: toltmanns; +Cc: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: First time gitr - have some questions
2011-01-24 18:20 First time gitr - have some questions toltmanns
2011-01-24 19:28 ` Andrew Keller
@ 2011-01-24 20:55 ` Matthieu Moy
1 sibling, 0 replies; 3+ messages in thread
From: Matthieu Moy @ 2011-01-24 20:55 UTC (permalink / raw)
To: toltmanns; +Cc: git
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-24 20:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-24 18:20 First time gitr - have some questions toltmanns
2011-01-24 19:28 ` Andrew Keller
2011-01-24 20:55 ` Matthieu Moy
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).