From: Junio C Hamano Date: Wed, 20 Jul 2011 17:50:34 GMT Subject: Re: t5403.1 and adding a file that belongs to a submodule Message-ID: <7v1uxk96z9.fsf@alter.siamese.dyndns.org> In-Reply-To: > git init > mkdir foo > (cd foo; git init; touch abc; git add abc; git ci -m1) > git add foo/abc > Note that doing "touch abc; git add abc foo/abc" instead will only add "abc". I think you mean s/ci/commit/, but it is an (perhaps lower priority) bug in "git add". Good that you spotted it.