Tack back a commit i GIT?

27 Views Asked by At

I'm using Git with Azure and Visual Studio 2022. I made some changes and staged everything for a stash, but it got committed instead. I can see the commit in outgoing(not pushed to remote yet), but I don't see how to easily take the commit back. I have tried Revert that just adds another commit just to cancel the prev. I also tried Reste > Keep changes. but that just removed all other commits in the outgoing queue.

So, I now got I commit in outgoing, and I want it back in to my code, how do I do this? Best would be if it could be done with the GUI and not special GIT commands.

Its important that the changes is not lost, and I want them back in to my solution(changes).

0

There are 0 best solutions below