Re: checkout extra files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 4, 2012, 08:53 UTC
- Message-ID
- <7v8vcqdv8x.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAB9Jk9BbOJgVNepFittD5fVkFLY24Tf10PVg3MD6E1M3hMyNsQ@mail.gmail.com>
Angelo Borsotti <angelo.borsotti@gmail.com> writes:
> "It updates the named paths in the working tree from the index file or > from a named <tree-ish> ..."
It checks out the contents of the named paths out of either the index or out of the tree-ish and stores that to a file in the working tree. The working tree is not consulted by Git to tell what paths the user wants to affect at all, but if you pass fileglob, your shell may consult the working tree to expand it to concrete pathnames it gives to Git.