Last active
January 14, 2025 13:13
-
-
Save itsgg/edae99c4ccaf78fbbbe5c79c22dc1000 to your computer and use it in GitHub Desktop.
Auto-Generate Git Commit Messages with Shell-GPT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.aicommit '!f() { git add -A && git diff --staged | sgpt "Create a concise commit message with: summary (50 chars) + optional bullet points for details. Do not add headings." | git commit -F -; }; f' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment