login
Header Space

 
 

Stashing untracked files

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: git <git@...>
Date: Saturday, September 29, 2007 - 2:27 pm

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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Stashing untracked files, Neil Macneale, (Sat Sep 29, 2:27 pm)
Re: Stashing untracked files, Tom Tobin, (Sun Sep 30, 4:44 pm)
Re: Stashing untracked files, Johannes Schindelin, (Sun Sep 30, 5:25 pm)
Re: Stashing untracked files, Johannes Schindelin, (Sat Sep 29, 5:03 pm)
Re: Stashing untracked files, Benoit SIGOURE, (Sat Sep 29, 5:10 pm)
Re: Stashing untracked files, Johannes Schindelin, (Sat Sep 29, 5:51 pm)
Re: Stashing untracked files, Tom Prince, (Sat Sep 29, 6:23 pm)
Re: Stashing untracked files, Johannes Schindelin, (Sat Sep 29, 7:09 pm)
Re: Stashing untracked files, Neil Macneale, (Sat Sep 29, 5:46 pm)
Re: Stashing untracked files, Johannes Schindelin, (Sat Sep 29, 6:00 pm)
Re: Stashing untracked files, Neil Macneale, (Sat Sep 29, 11:59 pm)
Re: Stashing untracked files, Wincent Colaiuta, (Sun Sep 30, 9:18 am)
Re: Stashing untracked files, Steffen Prohaska, (Sun Sep 30, 4:41 am)
speck-geostationary