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

 
 
 

Contributors

Languages