git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: First time gitr - have some questions

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jan 24, 2011, 20:55 UTC
Message-ID
<vpq39oit425.fsf@bauges.imag.fr>
In-Reply-To
<1295893245907-5956101.post@n2.nabble.com>
toltmanns <toltmanns@gmail.com> writes:
Show 6 quoted lines
> 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/
Previous: Andrew Keller
Message 3 of 3 in “First time gitr - have some questions”
  1. toltmannsJan 24, 2011
  2. Andrew KellerJan 24, 2011
  3. Matthieu MoyJan 24, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.