Beginner with GIT

I could not find in the interface of PyCharm how I can delete some local commits and revert to the HEAD of the master repository.

Can someone explain to me the steps ?

EDIT: I know that I need to do a git revert HEAD, after a git reset however I am not too sure how to do this with pyCharm GUI.

Please sign in to leave a comment.