Keep all your forks up to date with the remote master branch.
Project description
If you manage more than a couple git forks, keeping them up to date with the remote master can be a pain. Sure, you can merge them in on GitHub but that creates a merge commit which nobody wants, then if you choose to merge any of your changes into the remote repo, they get your lovely merge commits when all you wanted was to stay up to date. Forks lets you avoid all that. Forks will clone your projects locally, add the remote upstream, fetch upstream changes, pull them in, and force push them to your origin repo. Forks will also update all your repos concurrently.
Install
pip3 install forks-sync
Usage
It's recommended to use Forks away from your development repos so as to not get merge conflicts. Cloning or updating forks will timeout after 120 seconds per fork.
# Setup your ssh agent to ensure the script runs continually
ssh-add
# Pass your GitHub API key/token here:
API_KEY=123... forks
Development
Install project with dev depencencies:
pip3 install -e ."[dev]"
Lint the project:
pylint forks/*.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for forks_sync-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77be0eae809cdb1c58dd82c466b7d97ac621a708cc3dea641412ba35458141a3 |
|
MD5 | cc45a2c4bef2e12ba4238372c0fd903a |
|
BLAKE2b-256 | 34fc5333de1f390c48af22f940b5d9403ba5aee73a5f147168c09a01068a43ba |