How to rollback everything to previous commit

If you have pushed the commits upstream…

Select the commit you would like to roll back to and reverse the changes by clicking Reverse File, Reverse Hunk or Reverse Selected Lines. Do this for all the commits after the commit you would like to roll back to also.

reverse stuff
reverse commit

If you have not pushed the commits upstream…

Right click on the commit and click on Reset current branch to this commit.

reset branch to commit

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)