I am new to python and trying to use git commands in python script. The requirement is that I need to call some git commands like git clean and git reset commands in my python script. I need to use subprocess for this as I can't use any external libraries like GitPython.
Any help would be appreciated
Thanks.