Skip to content

Instantly share code, notes, and snippets.

@pigreco
Last active April 3, 2016 12:21
Show Gist options
  • Save pigreco/8bcbbe6f5022ecf5ba63ad7296800d2e to your computer and use it in GitHub Desktop.
Save pigreco/8bcbbe6f5022ecf5ba63ad7296800d2e to your computer and use it in GitHub Desktop.
from git import *
# edit
username = 'your_github_username' # modoficare
password = 'your_github_password' # modoficare
email = 'your_github_email' # modoficare
repo_dir = 'C:\Users\nome_utente\dev\QGIS_fork' # modoficare
branch = 'processing_test'
commit_message = "add polygon to lines test" # modoficare in seguito ad altri test
# not edit
definition_file = 'python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml'
repo_qgis = 'https://github.com/qgis/QGIS.git'
# clone the remote repo
repo = Repo.clone_from("https://" + username + ":" + password + "@github.com/" + username + "/QGIS.git", repo_dir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment