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

Re: can anybody explain the following to a git noob?

From
Heiko Voigt <hvoigt@hvoigt.net>
Date
May 25, 2009, 11:10 UTC
Message-ID
<20090525111059.GE1070@macbook.lan>
In-Reply-To
<855e4dcf0905230121h28ef22f8n4758953e612325cf@mail.gmail.com>
On Sat, May 23, 2009 at 08:21:09PM +1200, Tim Uckun wrote:
Show 11 quoted lines
> > I don't think any
> > version control system I know of likes having your initial import be of a
> > directory with other working directories for the same system as
> > subdirectories. (That is, Mercurial will be fine having git working
> > directories in the import, but git won't, and Mercurial wouldn't be happy
> > about having Mercurial working directories as subdirectories).
> >
> 
> I now realize that.  I did however did the same thing again but first
> deleted all the .git directories before doing a git init.  The end
> result didn't change.

Note that a second git init does not delete the previous database. So if you want to start from scratch you need to delete the main .git folder.

As already mentioned a script recreating your setup from public sources would really be a big help to find out were git does not do what you are expecting.

cheers Heiko
Previous: Tim UckunNext: Tim Uckun
Message 13 of 16 in “can anybody explain the following to a git noob?”
  1. Tim UckunMay 22, 2009
  2. Avery PennarunMay 22, 2009
  3. Tim UckunMay 22, 2009
  4. Andreas EricssonMay 22, 2009
  5. Tim UckunMay 22, 2009
  6. Johannes SixtMay 22, 2009
  7. Tim UckunMay 22, 2009
  8. Julian PhillipsMay 22, 2009
  9. Tim UckunMay 23, 2009
  10. Andreas EricssonMay 22, 2009
  11. Daniel BarkalowMay 22, 2009
  12. Tim UckunMay 23, 2009
  13. Heiko VoigtMay 25, 2009
  14. Tim UckunMay 25, 2009
  15. Sitaram ChamartyMay 22, 2009
  16. Dan LoewenherzMay 22, 2009

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.