Re: t5403.1 and adding a file that belongs to a submodule
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 20, 2011, 17:50 UTC
- Message-ID
- <7v1uxk96z9.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CACsJy8AgboAj86PHi6jiSyRFsJJ7hn=mkbt+2UdBva6LmKk4ZQ@mail.gmail.com>
Show 5 quoted lines
> 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.