Re: Listing top tracked files and directories only
- From
Scott Chacon <schacon@gmail.com>
- Date
- Mar 26, 2011, 16:24 UTC
- Message-ID
- <AANLkTi=0oWTtUbLFjQsh5-Koghz3UwmaPcrFiR2W-hdS@mail.gmail.com>
- In-Reply-To
- <AANLkTi=OMXTJm=mvr70KudS+S9c857z7Kv1qVE1FFdD_@mail.gmail.com>
Hey,
On Sat, Mar 26, 2011 at 9:18 AM, Francis Moreau <francis.moro@gmail.com> wrote:
Show 11 quoted lines
> Hello, > > I'd like to find a way to list files and directories tracked by git > but which are only in the top directory of the tracked project. > > For example, in a kernel repository: > > $ git-magic-command --magic-options > .gitignore > .mailmap > COPYING
$ git ls-tree --name-only [branch]
Scott