3 ms·
Missing my favorite flag for stash: --include-untracked. This will also stash any files that are not currently being tracked by git.
by pg_bot 13y ago
Missing my favorite flag for stash: --include-untracked.
This will also stash any files that are not currently being tracked by git.
- ddoolin 13y agogit stash -u is much shorter :p This is default for me, now, since I've had untracked files straight up deleted because I didn't include them in my stash.
- fr0sty 13y ago> I've had untracked files straight up deleted because I didn't include them in my stash. Do you recall the actual circumstances? That shouldn't happen in the normal course of things...
- ddoolin 13y agoIt was an awkward circumstance where I'm sure I majorly screwed up. The problem is that I can't remember...which is why it's my default....just in case. :) All I know is there was some stash dropping and checking out involved and somehow I lost a couple day's worth of work...oops.