Last active
May 1, 2025 05:35
-
-
Save yeiichi/794fe184030c12b5805860dcf107b9cc to your computer and use it in GitHub Desktop.
Helps the user construct a Git commit message interactively.
This file contains hidden or 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
| gitmsg () { | |
| read -r "type?Type (feat/fix/refactor/docs/test/chore/style): " | |
| read -r "desc?Description: " | |
| read -r "file?File name: " | |
| msg="${type}: ${desc} (${file})" | |
| echo "git commit -m '${msg}'" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment