Syncing a Fork with the main repository
- Copy the sh to your local repository root directory.
- sh ./sync-local-upstream.sh [YOUR_FORK_ROOT]
- It is good for cooperate with crontab.
- 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.