Git Extensions rollback last 2 commits

22.1k Views Asked by At

How can I rollback my last 2 commits in git extension, the commits are not pushed yet.

Thus the first commit is a merge with a branch, the second commit is a regular commit.

I am fairly new to git extensions and I accidently made some mistakes in those commits.

1

There are 1 best solutions below

5
On BEST ANSWER

Right-click the 3rd-last commit and select Reset current branch to here.