The question is simple: I made a couple of changes in a branch, but I accidently erased them all by doing the command git checkout -- .. How can I undo this mistake?
Edit: I committed the changes before I deleted them
The question is simple: I made a couple of changes in a branch, but I accidently erased them all by doing the command git checkout -- .. How can I undo this mistake?
Edit: I committed the changes before I deleted them