Tiny script to automate your git workflow
$ npm install -g git-auto
- One command for your git workflow
- Automatically adds files to the staging area and generates commits
- Chooses clean and consistent messages (e.g. 'added index.js')
Usage: git auto [options]
Options:
-h, --help output usage information
-V, --version output the version number
-p, --push Push to remote repository after generating commits
-g, --group Group changes into a single commit
Running $ git auto inside a folder will do the following:
- If the folder not a git repository, initialize it as one.
- For each file in the repository, add the file to the staging area and generate a commit message.
- Adding the
-poption will push to origin master at the end.
It is an unbelievably horrible idea to use this script if anyone else is going to look through your commit history.
MIT
