Re: Get a git diff without taking index into account
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 18, 2015, 22:16 UTC
- Message-ID
- <CAPc5daUw8F6fFZk0+-_9Z5nxPG4D56P88yFz=BSfK+xYxLhBxg@mail.gmail.com>
- In-Reply-To
- <CAAoZyYOT_OQZ+rrwFvnsVBV_sYRA4Oti3vRNnE6_RaV9w8qxdg@mail.gmail.com>
On Wed, Feb 18, 2015 at 1:38 PM, Eric Frederich <eric.frederich@gmail.com> wrote:
> Could you elaborate on "you can just refresh the index before each diff" > What command would I use to do this?
"update-index --refresh", perhaps?
> Also, how would I go about detecting untracked files the way status does?
"ls-files"?