Docker image to run Commitizen
docker build -t breakthewall/commit .
Copy bin files into the folder of the project to init:
cp bin/* <project_folder>
Answer to questions about your project:
cd <project_folder>
./init
Into the project folder, type the following to commit your changes about targeted files:
./commit
To avoid footprint in your project repository, add init
and commit
files into the .gitignore
file. You can also remove init
file