MaxPeal / sync-fork

Syncing a Fork with the main repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sync-fork

Syncing a Fork with the main repository

Installation

  • Copy the sh to your local repository root directory.

Usage

  • sh ./sync-local-upstream.sh [YOUR_FORK_ROOT]
  • It is good for cooperate with crontab.

Attention

  • It is suitable for the nodejs project that included the "package.json".
  • If your fork is the nodejs project that you will need jq installed at first.
  • Otherwise your fork is not the nodejs project, it will require the source repository url input.

About

Syncing a Fork with the main repository


Languages

Language:Shell 100.0%