xnt.vcs.git
Git Version Control Module
-
xnt.vcs.git.gitclone(url, dest=None, branch=None)
Clone a repository
Parameters: |
- url – URI of the repository to clone
- dest – Destination directory or name of the cloned repository
- branch – Branch to clone
|
-
xnt.vcs.git.gitpull(path, source='origin', branch='master')
Pull/Update a cloned repository
Parameters: |
- path – Directory of the repository for which to pull and update
- source – Repository’s upstream source
- branch – Repository’s upstream branch to pull from
|