Answers for "run git pull from python script"

0

run git pull from python script

# pip install gitpython

import git 
git_dir = "path_to_repository"
g = git.cmd.Git(git_dir)
g.pull()
Posted by: Guest on November-21-2020

Python Answers by Framework

Browse Popular Code Answers by Language