Skip to content
Advertisement

Tag: gitpython

Configure GitPython to output/log commands and process output

I’m using GitPython to run several simple commands against repos. Essentially most of it is just: Is there some way to setup GitPython to output/log the commands that are run, and also display the raw output they produce? For example, the above I would expect to be something along the lines of: Answer GitPython uses the module logging. By adding

Advertisement