git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Viewing untracked+stashed files in git stash show

From
Okash Khawaja <okash.khawaja@gmail.com>
Date
Mar 17, 2017, 09:50 UTC
Message-ID
<CAOtcWM1jExsj_L4HRm194F57bt9LPuf8fFSpyuGWiPG7U_4v8A@mail.gmail.com>
In-Reply-To
<295db01e-6252-6acc-88d8-d2f366397ea0@atlas-elektronik.com>
Hi,
On Fri, Mar 17, 2017 at 8:20 AM,  <stefan.naewe@atlas-elektronik.com> wrote:
Show 8 quoted lines
> Am 16.03.2017 um 17:34 schrieb Okash Khawaja:
>> Hi,
>>
>> If you have some untracked files and your run `git stash -u`. Then
>> `git stash show` doesn't show the untracked files. Is there a flag
>> that can be passed to git stash show to report untracked files?
>
> Not for 'git stash' but you can use 'git show stash@{0}^3

Okay that's fine as long as you know. But the first thing that comes to your mind is that you've lost those untracked files. Is there a reason why git stash show doesn't show those files?

Previous: stefan.naewe@atlas-elektronik.comNext: Okash Khawaja
Message 3 of 6 in “Viewing untracked+stashed files in git stash show”
  1. Okash KhawajaMar 16, 2017
  2. stefan.naewe@atlas-elektronik.comMar 17, 2017
  3. Okash KhawajaMar 17, 2017
  4. Okash KhawajaMar 17, 2017
  5. Jeff KingMar 17, 2017
  6. Jeff KingMar 17, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.