Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 490 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 490 Bytes

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.