home | list info | list archive | date index | thread index

[OCLUG-Tech] can "git stash show" distinguish between staged and unstaged stash content?

  • Subject: [OCLUG-Tech] can "git stash show" distinguish between staged and unstaged stash content?
  • From: "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca>
  • Date: Thu, 24 Sep 2015 09:30:49 -0400 (EDT)
  i'm sure there must be a simple answer to this -- given that "git
stash" will stash both the currently staged and unstaged content, is
there some variation of "git stash show -p" that will distinguish
between the content that was staged versus that which was unstaged?

  i don't use git stash a lot so i'm wondering if there's a trivial
answer, versus that you can't do it at all.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================