I accidentally rest my commit in git and I would undo the last commit are their any way to undo last commit in git .
- I want to undo the last rest .
I accidentally rest my commit in git and I would undo the last commit are their any way to undo last commit in git .
Simply reset the branch to the previous commit, if everything has been done locally.