I am using the GitPython library ( GitPython Documentation )
The following code works 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 to add for git pull --rebase ?
source
share