mirror of
https://github.com/f/git-rewrite-commits.git
synced 2026-04-27 06:35:49 +03:00
[GH-ISSUE #17] [feature]Easy prompt overrides per repo #12
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-rewrite-commits#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RyanHope on GitHub (Nov 16, 2025).
Original GitHub issue: https://github.com/f/git-rewrite-commits/issues/17
So I have this project working to a minimal satisfaction level I have found my sell having to patch the prompts in the package get better results. This is working alright but some of my projects have a very different theme and doesn't work well on those repos. We need a way to customize the system and user prompts on a per-repo level, but it might also be useful to be able to tweak the default config in a global way.
If instead of having the default templates baked into the source code, what if they were installed in ~/.git-rewrite-commits.conf so they can be overwritten globally and then also look in the repo for a similar local override.
@f commented on GitHub (Nov 16, 2025):
That makes very sense! I'm going to think about it!
@f commented on GitHub (Nov 17, 2025):
Now we have support for
COMMIT_MESSAGE.mdfile. Read the docs here.