github-sync-fork-script

Python script to sync your github fork to its parent repository.

Installation

Usage

The Script has some basic error handling. It will catch if the repo is not a fork (in that case there won't be anything to sync), if you are not in the folder of a git repo, etc.

How does it work?

The script basically follows the github syncing instructions page, but saving you the need to search for the parent repo's git url (which the script gets automatically from github) and typing the 100+ characters of the 4+ needed git commands.