@dobuki/autocommit
v1.0.11
Published
[![npm version](https://badge.fury.io/js/@dobuki%2Fautocommit.svg)](https://www.npmjs.com/package/@dobuki/autocommit)
Downloads
64
Maintainers
Readme
autocommit
Bash script hooked up with npm for auto-committing changes into git. Just run one command, and all changes are committed immediately.
It comes up with a default non-descriptive message, so other devs get confused when they see your commit message with no context whatsoever.
Using autocommit in your project shows others that you're an 10x developer, who doesn't even bother wasting time manually committing your own code.
usage
execute:
$ ./autocommit.sh # This commits all your code.
or
$ npm run autocommit
Run from npm dependency
First import dependency in your package.json
:
"devDependencies": {
"@dobuki/autocommit": "^1.0.3"
}
Then add a script to execute it:
"scripts": {
"tsc": "tsc",
"autocommit": "npm explore @dobuki/autocommit -- npm run autocommit \"$(pwd)\"",
}