I'm using git alias to create a beautiful commit message with emoji and my commit message structure looks like this.
[emoji] <type>(scope): <message>
e.g.
🐞 FIX(pages): security issue fix on pages table
Here is my .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"
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 to create a beautiful commit message with emoji and my commit message structure looks like this.
e.g.
Here is my .gitconfig