Skip to content

shripadbpersonal/gh-fork-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”„ GitHub Fork Sync

Python License: MIT

Sync your forked GitHub repository with the upstream/original repo using one command.

πŸš€ Features

  • Automatically adds the upstream remote (if not present)
  • Fetches updates from upstream
  • Merges/rebases upstream into your fork's main branch
  • Pushes changes to your GitHub fork

πŸ“¦ Installation

pip install -r requirements.txt

πŸ› οΈ Usage

python gh_fork_sync.py --repo owner/repo --token YOUR_GITHUB_TOKEN

Options:

  • --branch: Branch to sync (default: main)
  • --method: Merge or rebase (default: merge)

πŸ“„ License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages