Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

run git pull from python script

# pip install gitpython

import git 
git_dir = "path_to_repository"
g = git.cmd.Git(git_dir)
g.pull()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #git #pull #python #script
ADD COMMENT
Topic
Name
1+3 =