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

mergeconf

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mergeconf

Batch-config your repo's merge settings

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

mergeconf

Build Status

Batch-config your repo's merge settings

Install

$ npm install --global mergeconf

Usage

$ mergeconf --help

  Usage
    mergeconf [user] [token]

  Options
    --merge, -m Merge commits
    --squash, -s Squash commits
    --rebase, -r Rebase commits

You pass in your GitHub user name, a personal access token and options for which type of commit to allow. You must pass at least one option and the ones that aren't set will be treated as false.

Before using the app, generate a token with repository permissions.

The token is saved with conf so you only need to pass it once. Using another token will overwrite the old one.

Example

The following will set all my repos to only allow squash commits for merges.

mergeconf sotojuan mytoken --squash

The following will set all my repos to only allow squash and rebase commits for merges.

mergeconf sotojuan mytoken --squash --rebase

Not too bad!

License

MIT © Juan Soto

Keywords

cli-app

FAQs

Package last updated on 04 Nov 2016

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