This package has been deprecated

Author message:

This package is no longer in development

mergeconf

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i mergeconf

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • npm