gitupdate icon indicating copy to clipboard operation
gitupdate copied to clipboard

Unique commit messages

Open maltsev opened this issue 4 years ago • 3 comments

If I'm working on the same files and doing these temp commits, I guess the commit message would always be the same? It'd be awesome to add some uniqueness to commit messages to easily differentiate them. For example:

5dcc0a0 my-cool-script 👝 🌴 😠
331c87a my-cool-script 📂 👉 😜
1d7d0a4 my-cool-script 🔅 😻 🚶
bbdfb9a my-cool-script 🐅 🙉 🎣
612a7d6 my-cool-script

maltsev avatar Aug 05 '21 12:08 maltsev

add some uniqueness to commit messages to easily differentiate them

Random emojis won't be adding any new information though, I think. Or I am missing something?

nikivdev avatar Aug 05 '21 12:08 nikivdev

They'll help differentiate between commits with the same name. For example, when doing rebasing or just referring to a commit by its name.

Actually, maybe instead of random emojis, it'd be better to use ordinal numbers? So it's clear which commit has been created first.

maltsev avatar Aug 05 '21 15:08 maltsev

yeah incrementing numbers in parentheses if the commit message is the same as the last commit message (removing all parentheses) seems like a useful feature

chapmanjacobd avatar Apr 29 '22 16:04 chapmanjacobd