loading...

re: Useful tricks you might not know about Git stash VIEW POST

FULL DISCUSSION
 

Saving untracked files or specific paths is πŸ”‘:

git stash save -u -- <path…>

 

πŸ˜’
You ain't lying. Made the mistake of git clean w/ unsaved untracked files cause I was a noob. πŸ™ˆ

 

😟

I too learnt the hard way to use clean -n (dry-run of clean that just outputs what it would remove) before actually running it.

code of conduct - report abuse