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

Thanks for git and especially thanks for git add --interactive

From
Ddemerphq <demerphq@gmail.com>
Date
Apr 14, 2022, 04:46 UTC
Message-ID
<CANgJU+WApga2t+Ubzz5sk=7AR5pNCy-Sm8P7pwMULsBpmb8asQ@mail.gmail.com>
Hi,

I don't know who to thank directly, and I guess it is a community effort anyway, but I just wanted to thank everyone involved in making git add --interactive and its wrapper git commit --interactive. IMO it has really revolutionized my development workflow and dramatically improved the quality of the commits I create. I often spend longer using it to create a clean crafted series of patches than I have spent on making the actual changes. I have seen people describe it as an "advanced" feature, and maybe it is, but I think it is one of the *killer* features of git that has impacted the quality of commits across the industry.

git as a whole is a wonderful and fantastic tool that has obviously completely transformed the version control part of our industry, but commit interactive has completely and utterly changed how I think about writing patches and the quality of the commits I produce. It is not unusual for me to use an almost completely reverse workflow than I used to. I often create a change, not worrying too much about how I structure the commits on the way to the final state, then I squash them down to the final state I am happy with, and then work backwards to create a tailored series of commits that changes the code to that final state. That is something that I cannot imagine doing without git.

So thanks to everybody on this list, Linus, Junio, and everybody involved with making git such an awesome tool, but *especial* thanks to whomever it was that dreamed up the interactive commit modes and everyone else who worked to make it such a fantastic tool. It has literally changed my life.

cheers, Yves

-- 
perl -Mre=debug -e "/just|another|perl|hacker/"
Next: Junio C Hamano
Message 1 of 2 in “Thanks for git and especially thanks for git add --interactive”
  1. demerphqApr 14, 2022
  2. Junio C HamanoApr 14, 2022

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.