Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiospampinato/autogit-plugin-autocommit
A plugin for automatically making a commit when specific files change.
https://github.com/fabiospampinato/autogit-plugin-autocommit
autocommit autogit plugin
Last synced: about 1 month ago
JSON representation
A plugin for automatically making a commit when specific files change.
- Host: GitHub
- URL: https://github.com/fabiospampinato/autogit-plugin-autocommit
- Owner: fabiospampinato
- License: mit
- Archived: true
- Created: 2018-10-08T03:48:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-24T20:28:51.000Z (almost 5 years ago)
- Last Synced: 2024-08-09T20:10:11.173Z (4 months ago)
- Topics: autocommit, autogit, plugin
- Language: TypeScript
- Size: 16.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Autogit Plugin - Autocommit
A plugin for automatically making a commit when specific files change.
## Install
```sh
npm install --save autogit-plugin-autocommit
```## Usage
#### Options
This plugin uses the following options object:
```js
{
message: '', // Commit message
paths: [] // When these paths change a commit will be made
}
```#### Configuration
Add this plugin to a command:
```js
const autocommit = require ( 'autogit-plugin-autocommit' );module.exports = {
commands: {
'my-command': [
autocommit ({ message: 'Readme: updated', paths: ['README.md'] })
]
}
}
```## License
MIT © Fabio Spampinato