I had some changes in my local branch which I added using git add -A
.
Then for some reasons I unstaged these changes by doing git reset
.
Then I opened GitExtensions and clicked on Reset all changes. (I somehow assumed that it was Reset selected changes :/)
So I ended up losing these changes. Is it possible to recover these changes given that they were once added ?
The conversation here suggests that the changes can be recovered if they were ever staged. I could not find how though: need to undo "Reset Changes" action git extensions
I found ways to recover if the changes were once stashed: how-to-recover-a-dropped-stash-in-git
The answers here suggest that it is not possible to recover the changes if they are not commited, staged, or stashed: accidentally-reverted-to-master-lost-uncommitted-changes