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

Re: staging specific lines out of a hunk for a commit

From
GGGraeme Geldenhuys <graemeg.lists@gmail.com>
Date
Sep 21, 2010, 11:44 UTC
Message-ID
<AANLkTimH5T8uKppW5PPe501OCVVRuLBtWfeSbUxka9Ov@mail.gmail.com>
In-Reply-To
<vpqocbrjpts.fsf@bauges.imag.fr>
On 21 September 2010 13:31, Matthieu Moy wrote:
>
> Otherwise, "git add -p", 'e' for 'e'dit, and delete the parts you
> don't want.

Ha, I was wondering about that, but wasn't sure if it would be accepted or cause problems. Thanks for the tip.

-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net:8080/fpgui/
Previous: Matthieu MoyNext: Jonathan del Strother
Message 5 of 6 in “staging specific lines out of a hunk for a commit”
  1. Graeme GeldenhuysSep 21, 2010
  2. Bert WesargSep 21, 2010
  3. Graeme GeldenhuysSep 21, 2010
  4. Matthieu MoySep 21, 2010
  5. Graeme GeldenhuysSep 21, 2010
  6. Jonathan del StrotherSep 21, 2010

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.