git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "man git-stash" explanation of "--include-untracked" and "--all" seems ambiguous
@ 2017-09-29 16:26 Robert P. J. Day
  2017-10-01 20:16 ` Thomas Gummerer
  0 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2017-09-29 16:26 UTC (permalink / raw)
  To: Git Mailing list


  from the man page:

"If the --include-untracked option is used, all untracked files are
also stashed and then cleaned up with git clean, leaving the working
directory in a very clean state. If the --all option is used instead
                                                             ^^^^^^^
then the ignored files are stashed and cleaned in addition to the
untracked files."

  the use of the word "instead" suggests you can use one of those
options, or the other, but not both at the same time. but it seems you
can combine them, so that paragraph seems a bit misleading, no?

rday

-- 

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

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


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

end of thread, other threads:[~2017-10-05  5:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-29 16:26 "man git-stash" explanation of "--include-untracked" and "--all" seems ambiguous Robert P. J. Day
2017-10-01 20:16 ` Thomas Gummerer
2017-10-01 20:44   ` Robert P. J. Day
2017-10-01 23:29   ` Junio C Hamano
2017-10-04 17:05     ` Robert P. J. Day
2017-10-05  5:16       ` Junio C Hamano

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 NNTP newsgroup(s).