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

fabiospampinato/autogit-command-readme-autocommit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autogit Command - Readme Autocommit

A command for autocommitting changes to the readme.

Install

npm install --save autogit-command-readme-autocommit

Usage

Options

This command uses the following options object:

{
  remote: 'origin', // The remote to push to
  branch: '' // The branch to push to, if not set the current branch will be used
  message: 'Readme: update', // Commit message
  paths: ['README.md', 'Readme.md', 'readme.md', 'README', 'Readme', 'readme'] // When these paths change a commit will be made
}

Configuration

Add this command to your configuration:

const readmeAutocommit = require ( 'autogit-command-readme-autocommit' );

module.exports = {
  commands: {
    'readme-autocommit': readmeAutocommit 
  }
}

CLI

Call it from the CLI with:

autogit readme-autocommit

License

MIT © Fabio Spampinato

About

A command for autocommitting changes to the readme.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published