I have the following master branch structure:
WrongCommit1-->WrongCommit2-->WrongCommit3 master
/
/
GoodCommit--- master
I'd like to "re-start" the master branch from the GoodCommit, do some changes and forget the Head ending with WrongCommit3.
How is it possible to do in git?