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

Feature request: Configurable prefixes for git commit --fixup and --squash

From
MLMartine Lenders <mlenders@riot-os.org>
Date
Mar 3, 2016, 12:47 UTC
Message-ID
<CALHmdRz3ffgifH2BZK14B=4LGFqOeTWpRarD+RAFx8AtwwMidg@mail.gmail.com>

Hi, I'm not sure if this was already requested somewhere (a quick - but admittedly not thorough - search did not reveal anything in that direction), but I really miss an option to configure the prefixes generated by `git commit (--fixup | --squash) <commit>` and picked up by `git rebase -i --autosquash`.

My reasoning is that in our project we use GitHub + Travis to test-build our pull requests, but we don't want to spam the CI server with builds that are just fixups to previous changes (which are uploaded so reviewers can track the changes to the original PR). Now, Travis has the option to not build a commit if there is the string `[ci skip]` in the commit message (sadly also not configurable) so it would be really great for my workflow if I could just add this string to the message generated by `--fixup`.

Thanks in advance for your consideration.

Kind Regards, Martine Lenders

Next: John Keeping
Message 1 of 12 in “Feature request: Configurable prefixes for git commit --fixup and --squash”
  1. Martine LendersMar 3, 2016
  2. John KeepingMar 3, 2016
  3. Matthieu MoyMar 3, 2016
  4. Martine LendersMar 3, 2016
  5. Matthieu MoyMar 3, 2016
  6. Martine LendersMar 3, 2016
  7. John KeepingMar 3, 2016
  8. Matthieu MoyMar 3, 2016
  9. Martine LendersMar 3, 2016
  10. Matthieu MoyMar 3, 2016
  11. Junio C HamanoMar 3, 2016
  12. Matthieu MoyMar 3, 2016

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.