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.
execute:
$ ./autocommit.sh # This commits all your code.
or
$ npm run autocommit
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)\"",
}