Skip to content

Instantly share code, notes, and snippets.

@JEuler
Created August 24, 2024 07:16
Show Gist options
  • Save JEuler/0ea3af22b95bd191c56780d1f67bc362 to your computer and use it in GitHub Desktop.
Save JEuler/0ea3af22b95bd191c56780d1f67bc362 to your computer and use it in GitHub Desktop.
Git commit message prompt for Cursor
@Commit (Diff of Working State) Please generate a commit message that:",
“1. Summarizes the main purpose of the changes”,
“2. Follows best practices for commit message formatting”,
“3. Includes any relevant details about the implementation or impact”,
“4. Mentions any new files added or significant refactoring”,
“\nSuggested commit message format:”,
“<type>(<scope>): <subject>”,
“”,
“<body>”,
“”,
“<footer>”
Taken from https://forum.cursor.com/t/ai-generated-commit-message/6650
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment