Re: [question] How to customize git revert template
Hi
On Thu, Feb 29, 2024, at 13:52, Wu Zhenyu wrote:
Show 15 quoted lines
> In https://git-scm.com/docs/git-revert
>
>> While git creates a basic commit message automatically
>
> How can I customize git revert template? e.g.,
>
> ```sh
> git config revert.template ~/.config/git/template
> ```
>
> TIA!
>
> --
> Best Regards
> Wu Zhenyu
I see no way to customize this message. Your only choices seem to be
1. This default
2. The “reference” style using `--reference`
So there doesn’t seem to be a template alternative here.
--
Kristoffer Haugsbakk