git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[question] How to customize git revert template

From
Wu Zhenyu <wuzhenyu@ustc.edu>
Date
Feb 29, 2024, 12:52 UTC
Message-ID
<k4zvycdixqmntkyevdtsrswbfiklyj24mp6jhltnwwdswxromc@q3wtrivkbfbl>
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
Next: Kristoffer Haugsbakk
Message 1 of 3 in “[question] How to customize git revert template”
  1. Wu ZhenyuFeb 29, 2024
  2. Kristoffer HaugsbakkFeb 29, 2024
  3. Wu ZhenyuMar 3, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.