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. Forks lets you avoid all the fuss by concurrently cloning each of your projects locally, adding the remote upstream, fetching upstream changes, rebasing them, and force pushing to your origin repo master branch - keeping all your forks up to date with the original repo.
By default, Forks will save all your forks to ~/forks-sync
where you can also find logs for this tool.
Install
# Install tool
pip3 install forks-sync
# Install locally
make install
# Get Makefile help
make help
Usage
# Setup your ssh agent to ensure the script runs continually
ssh-add
# Pass your GitHub API key/token here:
GITHUB_TOKEN=123... forks-sync
# Optional params:
# FORKS_SYNC_LOCATION="~/my-folder"
Development
# Lint the project
make lint
# Run tests
make test
# Run test coverage
make coverage
# Run the tool locally
venv/bin/python forks/sync.py --help
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
forks-sync-2.0.0.tar.gz
(4.5 kB
view hashes)