Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

fabiospampinato/autogit-plugin-autocommit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published