On Fri, Jun 12, 2009 at 8:07 AM, Allan Kelly<allankelly@xxxxxxxxx> wrote: > (I need the top-level .gitignore to contain a line '.gitignore' to > avoid reporting the "sub-repo" .gitignore as untracked - which is > correct but not of interest. It appears that git automatically ignores > the .git dir for the westbarnsgala.info repo created below) It's not really "ignoring" the .git dir. It's treating the entire subtree that contains the .git dir as a submodule. See 'man git-submodule'. Git submodules may actually resolve your problem in a more straightforward way than what you're doing. You might also be interested in my git-subtree tool: http://github.com/apenwarr/git-subtree Have fun, Avery -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html