DEV Community

Discussion on: Learn the hidden feature in Git - Stash

Collapse
 
johann_lr profile image
Johann

Thanks for sharing! I'm happy that I was introduced to stashes early when I learned git.
What did you do instead of stashing before?

Collapse
 
yuvgeek profile image
Yuvaraj

Like years before, the contents of the modified file is copied and saved it in another backup folder. Then discard the changes in working copy.

Collapse
 
johann_lr profile image
Johann

Ahaha relatable, guess I did that for everything before I even knew git - like creating a new "version directory" after every big change to have a chance to go back :p

Some comments have been hidden by the post's author - find out more