excelente , para os mais preguicosos como eu adicione isso :
ccm() {
tokens='🏗️ build, 🔧 ci, 🚧 chore, ✏️ docs, ✨ feat, 🐛 fix, 🚀 perf, 📦 refactor, ⏪️ revert, 💄 style, 🧪 test, 🌐 i18n, 🎉 initial, 📈 analytics, 🗃️ database'
commit_message=$(git diff --cached | cody chat --stdin -m 'Write only a commit title message to describe the changes made in all files for this git diff using this pattern: `emoji: message`. The message must be imperative and in lowercase. The available emojis are: '"$tokens" 2>/dev/null)
git commit -m "$commit_message"
}
ai é so rodar o comando ccm após o git add