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