Conventional Commits from the terminal.
-
I've been using VS Code Conventional Commits for sometime and I wanted to have that experience on my terminal as well.
-
I wanted to get comfortable with shell scripting 😄.
Note:
- This is not a 1:1 port of and this does not have all the functionalities found in VS Code Conventional Commits. I've added the functionalities which I use in my workflow.
git | for working with git 😄 |
fzf | for fuzzy-finding options |
-
Copy
commit.sh
file somewhere in your$PATH
, and make it executable. (I keep the script in~/.local/bin
)for example:
wget https://raw.githubusercontent.com/krish-r/commit.sh/main/commit.sh -O ~/.local/bin/commit.sh # adds executable permission to user chmod u+x ~/.local/bin/commit.sh
-
Simply remove the script from your path.
for example:
rm -i $(which commit.sh)
commit.sh
- VS Code Conventional Commits - for the inspiration & description
- gitmoji - for the emoji guides & description