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.
.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 🙏❤
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 🙏❤