git-template-sync
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

git-template-sync

Cherry picking updates from upstream template. Based on rioam2/git-upstream-template


Build Status version MIT License

The problem

The github template functionlity is useful, but it lacks a way to get updates when the template repository gets updates. The repo from rioam2 works, but it breaks convential commits.

This solution

I used a lot of rioam2's code to start this package. Refactoring it and adding my way of working.

Table of Contents

Installation

This module should be installed as one of your project's devDependencies:

npm install --save-dev git-template-sync

Usage

as default git-template-sync looks for TEMPLATE_PATH in .env

git-template-sync

# you can pass the remoteUrl as a param
git-template-sync --remoteUrl <remoteUrl>

# as default git-template-sync uses main as the branch to fetch.
git-template-sync --branch <branch>

License

MIT

Package Sidebar

Install

npm i git-template-sync

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

28 kB

Total Files

6

Last publish

Collaborators

  • daren