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

Re: committing only selected diff's of a file

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Dec 3, 2007, 11:07 UTC
Message-ID
<20071203110748.GZ31750@genesis.frugalware.org>
In-Reply-To
<4753D465.10802@ecocode.net>

On Mon, Dec 03, 2007 at 11:03:17AM +0100, Erik Colson <eco@ecocode.net> wrote:

> 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 :-/
git add -i

(i also wrote a wrapper for people who come from darcs: http://git.frugalware.org/repos/pacman-tools/darcs-git.py but it contains many hacks so i don't want to advertise it too much as others on this list will burn me :) )

- VMiklos
Previous: Erik ColsonNext: Jakub Narebski
Message 2 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.