Search code examples
gitcommitrollbackgit-extensions

Git Extensions rollback last 2 commits


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.


Solution

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