New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

git-template-sync

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-template-sync

Cherry picking updates from upstream template

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

github-templates

FAQs

Package last updated on 17 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts