diff options
Diffstat (limited to 'src/pyfedpkg/__init__.py')
-rw-r--r-- | src/pyfedpkg/__init__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py index c975afc..790cb93 100644 --- a/src/pyfedpkg/__init__.py +++ b/src/pyfedpkg/__init__.py @@ -1543,7 +1543,14 @@ class PackageModule: # Run the command _run_command(cmd, shell=True) return + + def pull(self): + """Pull changes from the main repository""" + cmd = ['git', 'pull'] + _run_command(cmd) + return + def push(self): """Push changes to the main repository""" |