git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* error(?) in "man git-stash" regarding "--keep-index"
@ 2018-05-18  9:37 Robert P. J. Day
  2018-05-18 10:41 ` Martin Ågren
  0 siblings, 1 reply; 9+ messages in thread
From: Robert P. J. Day @ 2018-05-18  9:37 UTC (permalink / raw)
  To: Git Mailing list


  toward the bottom of "man git-stash", one reads part of an example:

  # ... hack hack hack ...
  $ git add --patch foo            # add just first part to the index
  $ git stash push --keep-index    # save all other changes to the stash
                                              ^^^^^ ???

i thought that, even if "--keep-index" left staged changes in the
index, it still included those staged changes in the stash. that's not
the impression one gets from the above.

rday

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-19 10:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-18  9:37 error(?) in "man git-stash" regarding "--keep-index" Robert P. J. Day
2018-05-18 10:41 ` Martin Ågren
2018-05-18 10:51   ` Robert P. J. Day
2018-05-18 12:25     ` Martin Ågren
2018-05-18 15:37       ` Sybille Peters
2018-05-18 15:43         ` Robert P. J. Day
2018-05-18 17:14           ` Martin Ågren
2018-05-19 10:05             ` Sybille Peters
2018-05-18 20:24         ` Robert P. J. Day

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).