How to do a git reset --hard using gitPython?

Viewed 11160

Well the title is self explanatory. What will be the python code equivalent to running git reset --hard (on terminal) using GitPython module?

3 Answers
Related