This script uses the GitHub API to get a list of all your repos in your GitHub account. If the repo already exists locally, it will update it via git-pull.
Unlike https://github.com/kennethreitz/ghsync this package does not require a directory structure, just point the way to the place where you have to find your repos. The default is “.” (current directory), set the correct path:
export GITHUB_SYNC_DIR='/path/to/repos'
Install
To install github-sync, simply run:
$ pip install github-sync ... or develop. version: $ pip install -e git://github.com/adw0rd/github-sync.git#egg=github-sync
The command github-sync will then be available to you from the command line.
$ github-sync
History
This fork has roots from https://github.com/kennethreitz/ghsync/
I wanted to get my fork is simpler, without the directory structure, etc. And just to recursively searched github-repository at the specified path and performed git-pull
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file github-sync-0.1.1.tar.gz.
File metadata
- Download URL: github-sync-0.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a539a2c0ceebf1ca19bb564d04999071e56718af0a9765b69b2d3280bf9082ae
|
|
| MD5 |
b4d01431f8dc2af29e529c9b79b7c5de
|
|
| BLAKE2b-256 |
1db27a83662a57ada084cba62831e677df646270871edb968a600052b6c57e6e
|