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

Re: "git add -p" versus "git add -i", followed by "p"

From
Robert P. J. Day <rpjday@crashcourse.ca>
Date
Dec 2, 2018, 17:30 UTC
Message-ID
<alpine.LFD.2.21.1812021229580.7271@localhost.localdomain>
In-Reply-To
<CACsJy8AkMfZ02b9p2sQi2p=Bw4MDckLYy_cBFVeN2_UY-Z3kCg@mail.gmail.com>
On Sun, 2 Dec 2018, Duy Nguyen wrote:
Show 17 quoted lines
> On Sun, Dec 2, 2018 at 6:05 PM Robert P. J. Day <rpjday@crashcourse.ca> wrote:
> > >   Patch update>> 2
> > >              staged     unstaged path
> > >   * 1:    unchanged        +1/-0 README.md
> > >   * 2:    unchanged        +1/-0 contrib/README
> > >     3:    unchanged        +1/-0 t/README
> > >   Patch update>>
> > >
> > > Here I hit enter.  Did you?
> >
> >   perhaps i'm just not seeing it, but from "man git-add", it
> > doesn't seem obvious that you would first select the files to work
> > with, then hit a simple CR to get into actual patch mode.
>
> I think it's the same procedure as the "update" step, which
> describes this in more detail. I agree that the "patch" section does
> not make this obvious.
  thanks, i was hoping i wasn't being a complete idiot. given time, i
may submit a patch to fix the man page unless someone else gets to it
first.
rday
-- 
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
Previous: Duy NguyenNext: Robert P. J. Day
Message 6 of 9 in “"git add -p" versus "git add -i", followed by "p"”
  1. Robert P. J. DayDec 2, 2018
  2. SZEDER GáborDec 2, 2018
  3. Robert P. J. DayDec 2, 2018
  4. Robert P. J. DayDec 2, 2018
  5. Duy NguyenDec 2, 2018
  6. Robert P. J. DayDec 2, 2018
  7. Robert P. J. DayDec 8, 2018
  8. Kevin DaudtDec 2, 2018
  9. Robert P. J. DayDec 2, 2018

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.