Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

imagentleman/github-sync-fork-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

github-sync-fork-script

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

Installation

  • Download the script here.
  • Put the script gsync.py on your path. In Windows you would probably place it on the root of your python folder (which in most cases is already in the path), somewhere like C:\Python27. That way the script would be callable from any folder.

Usage

  • Clone your repo and cd into its folder.
  • Run gsync.py
  • Cake

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.

About

Python script to sync your github fork to its parent repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages