autogit-plugin-autocommit
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Autogit Plugin - Autocommit

A plugin for automatically making a commit when specific files change.

Install

npm install --save autogit-plugin-autocommit

Usage

Options

This plugin uses the following options object:

{
  message: '', // Commit message
  paths: [] // When these paths change a commit will be made
}

Configuration

Add this plugin to a command:

const autocommit = require ( 'autogit-plugin-autocommit' );
 
module.exports = {
  commands: {
    'my-command': [
      autocommit ({ message: 'Readme: updated', paths: ['README.md'] })
    ]
  }
}

License

MIT © Fabio Spampinato

/autogit-plugin-autocommit/

    Package Sidebar

    Install

    npm i autogit-plugin-autocommit

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    12.2 kB

    Total Files

    8

    Last publish

    Collaborators

    • fabiospampinato