git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Stashing untracked files
@ 2007-09-29 18:27 Neil Macneale
  2007-09-29 21:03 ` Johannes Schindelin
  2007-09-30 20:44 ` Tom Tobin
  0 siblings, 2 replies; 13+ messages in thread
From: Neil Macneale @ 2007-09-29 18:27 UTC (permalink / raw)
  To: git

Hi All,

I'm new to git, and I have a question regarding the best way to do 
something.

When using "git stash," in some cases I'd like to stash away files that 
are currently untracked. It seems to me like there should be a way to 
stash everything in a working directory so that the end result is a 
pristine tree. Then applying the stash will reinstate those file as 
untracked.

I understand that is not always desired, but sometimes it is (for me 
anyway). Perhaps an option like "git stash -u" could provide this behavior?

Is there some other approach that makes more sense? I don't want to 
start looking into this until I have some idea if this is a sane idea :-)

Thanks,
Neil

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

end of thread, other threads:[~2007-09-30 21:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-29 18:27 Stashing untracked files Neil Macneale
2007-09-29 21:03 ` Johannes Schindelin
2007-09-29 21:10   ` Benoit SIGOURE
2007-09-29 21:46     ` Neil Macneale
2007-09-29 22:00       ` Johannes Schindelin
2007-09-30  3:59         ` Neil Macneale
2007-09-30  8:41           ` Steffen Prohaska
2007-09-30 13:18           ` Wincent Colaiuta
2007-09-29 21:51     ` Johannes Schindelin
2007-09-29 22:23       ` Tom Prince
2007-09-29 23:09         ` Johannes Schindelin
2007-09-30 20:44 ` Tom Tobin
2007-09-30 21:25   ` Johannes Schindelin

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).