Re: Can't track untracked file
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 16, 2012, 02:04 UTC
- Message-ID
- <7vr4r7383v.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <A32BFCAF-114F-4A65-B802-8DD2A795B96E@snafu.org>
Marco S Hyman <marc@snafu.org> writes:
Show 12 quoted lines
> And there is NOTHING I can do to get that directory into git. > > $ git add 2010 > $ git commit -m 'will it work?' > # On branch master > # Untracked files: > # (use "git add <file>..." to include in what will be committed) > # > # 2010/ > nothing added to commit but untracked files present (use "git add" to track) > > The directory is not empty.
Perhaps "2010" or everything in it is ignored in .gitignore in higher directories?