2

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 ?

Norbert
  • 33
  • 6

2 Answers2

1

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.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • @NorbertNagy It is a good occasion to try it: you can launch it from GitHub Desktop: https://stackoverflow.com/q/52496770/6309 – VonC Oct 27 '20 at 07:21
1

Took a leap of faith and committed the quick fix, i didn't loose stashed changes.

Norbert
  • 33
  • 6