Re: Stashing untracked files
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Sep 30, 2007, 13:18 UTC
- Message-ID
- <115E3AB7-BE23-472B-9321-641901054A6A@wincent.com>
- In-Reply-To
- <46FF1F1E.2050000@theory.org>
El 30/9/2007, a las 5:59, Neil Macneale escribió:
> $ git stash -u # stash everything, even untracked files. I never > # suggesting modifying the default behavior.
Provided it's not the default behaviour, and provided that it doesn't add ignored files, this sounds perfectly reasonable and potentially quite useful.
I say *potentially* only because I've yet to find a situation wherein I can't just do the following:
<hack> # lots of untracked files floating around $ git stash # untracked files stay exactly where they were <orthogonal hacking> # untracked files still there $ git stash apply # still there... <hack> # still there...
If the content of the untracked files is both, (a) important and (b) being modified over time, then perhaps it should be being tracked.
Wincent