-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
When using better-commits with pre-commit hooks, if the commit fails due to hook failures (e.g., linting errors), the user needs to go through the entire better-commits flow again after fixing the issues and running git add -u.
Requested Feature:
- Save the commit message in a way that allows git commit to reuse it after hook failures
- Or provide a command like better-commits --resume to reuse the last generated message
- Or automatically detect staged changes and ask if user wants to reuse the previous message
Use case
better-commits # User creates message interactively
# ❌ Pre-commit fails
# User fixes code
git add -u
git commit # Should reuse the previous message
# OR
better-commits --resume # Reuse last message without going through flow againBest regards.
Damian
Metadata
Metadata
Assignees
Labels
No labels