Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

How to recover uncommited files that were lost during commit error

Solved! Go to Solution.

Hello,

Im not very good with git and i was using gitHubDesktop. I tried to switch to another branch and selected to copy current changes to the next branch. Got an error and and all uncommited changes were gone.Unfortunatly I have lost quite a big load of work. Is there a way to recover those files?

Please help, thank you!

1 Reply
Solution
Copilot Lvl 2
Message 2 of 2

Re: How to recover uncommited files that were lost during commit error

Nevermind, sorry you can close this. Appearently it created 2 stashes, first one busted with 1 file on the original branch(that missled me) and the second one on the branch i was trying to switch to with all the files.