softa-autocommit
v0.0.7
Published
The purpose of this CLI is to facilitate the commits we make in softaliza projects as we use the `BIR-123` or `GEN-123` pattern to create branches and automated commits with jira tasks for each project. And just install the CLI and run it with the command
Downloads
3
Readme
Softa auto commit
The purpose of this CLI is to facilitate the commits we make in softaliza
projects as we use the BIR-123
or GEN-123
pattern to create branches
and automated commits with jira tasks for each project.
And just install the CLI and run it with the command softa-autocommit
and
then type the commit message and the CLI will mount and commit in the pattern
we follow this way: git commit -m "BIR-123: asd"
automatically getting the
task ID on the branch you are working on.
Install
npm i -g softa-autocommit
Usage
After installation on your machine just type this command on the directory that you're working on
softa-autocommit
Tips
You can also add an alias
to your shell profile configuration file with the command
# on ~/.zshrc or ~/.bashrc
alias gc="softa-autocommit"
And you can also concatenate the git add
command with the CLI
git add <file> && gc
# Or if you don't have create an alias use:
git add <file> && softa-autocommit