I am using GitPython library (GitPython Documentation)
The following code is working fine for git pull, but how to use git pull --rebase ?"
import git
g = git.cmd.Git(git_dir)
g.pull()
is there any function or parameter we need to add for git pull --rebase ?