Reputation: 33
I use Github desktop and I have a few changes stashed but i need to commit other changes as a quick fix before working more on stashed. Restoring stashed and applying the quick fix on top won't work as code changed radically in stashed.
Do i lose stashed changes if i commit other changes before ?
Upvotes: 2
Views: 1122
Reputation: 33
Took a leap of faith and committed the quick fix, i didn't loose stashed changes.
Upvotes: 1
Reputation: 1323553
No, you should not loose what has been stashed.
You can double-check that with git stash list
in command-line, both before and after you have committed your current work.
Upvotes: 1