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

committing only selected diff's of a file

From
Erik Colson <eco@ecocode.net>
Date
Dec 3, 2007, 10:03 UTC
Message-ID
<4753D465.10802@ecocode.net>
Hello,

Does Git allow to commit only selected patches from inside 1 file ? I'm coming from a darcs world where this is supported... Probably it is supported in Git too, but I can't figure out how :-/

Thanks for help
-- 
Erik
Next: Miklos Vajna
Message 1 of 4 in “committing only selected diff's of a file”
  1. Erik ColsonDec 3, 2007
  2. Miklos VajnaDec 3, 2007
  3. Jakub NarebskiDec 3, 2007
  4. Matthieu MoyDec 3, 2007

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.