I'm using git alias for writing beautiful commit messages. Below, I pasted a few lines from the .gitconfig file.
.gitconfig
# Git Commit, Add all and Push — in one step. cap = "!f() { git commit -m \"$@\"; }; f" # NEW. new = "!f() { git cap \"📦 NEW($1): $2\"; }; f" # IMPROVE. imp = "!f() { git cap \"👌 IMPROVE($1): $2\"; }; f" # UPDATE. up = "!f() { git cap \"✍🏻 UPDATE($1): $2\"; }; f" # FIX. fix = "!f() { git cap \"🐞 FIX($1): $2\"; }; f" # RELEASE. rlz = "!f() { git cap \"🚀 RELEASE($1): $2\"; }; f" # DOC. doc = "!f() { git cap \"📖 DOC($1): $2\"; }; f" # TEST. tst = "!f() { git cap \"🤖 TEST($1): $2\"; }; f" # BREAKING CHANGE. brk = "!f() { git cap \"‼️ BREAKING CHANGES($1): $2\"; }; f" # REMOVE remove = "!f() { git cap \"🗑 REMOVE($1): $2\"; }; f" # REFACTOR ref = "!f() { git cap \"♻️ REFACTOR($1): $2\"; }; f" # INITIAL COMMIT int = "!f() { git cap \"🎉 INITIAL COMMIT($1): $2\"; }; f"
Here is an example of an improvement commit.
git imp "scope" "actual commit message"
This is awesome 👍 Thanks for sharing 🙏❤
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm using git alias for writing beautiful commit messages. Below, I pasted a few lines from the
.gitconfig
file.Here is an example of an improvement commit.
This is awesome 👍
Thanks for sharing 🙏❤