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

Re: rebase --continue confusion

From
Jeff King <peff@peff.net>
Date
Jun 6, 2010, 22:18 UTC
Message-ID
<20100606221853.GG6993@coredump.intra.peff.net>
In-Reply-To
<m3bpbo1f3f.fsf@winooski.ccs.neu.edu>
On Sun, Jun 06, 2010 at 09:10:44AM -0400, Eli Barzilay wrote:
Show 11 quoted lines
> There are a number of these things that I asked about recently.
> Here's another similarly one:
> 
>   $ git add foo
>   $ git status -s
>   M  foo
>   $ git commit --amend foo
>   # On branch master
>   # No changes
>   $ git status -s
>   M  foo

I'm confused. Is there some context for when you are issuing these commands? Because the "git commit --amend foo" should actually commit foo, and does for me.

-Peff
Previous: Eli BarzilayNext: Eli Barzilay
Message 5 of 12 in “rebase --continue confusion”
  1. Dale RowleyMay 30, 2010
  2. Tim VisherMay 30, 2010
  3. skillzero@gmail.comMay 31, 2010
  4. Eli BarzilayJun 6, 2010
  5. Jeff KingJun 6, 2010
  6. Eli BarzilayJun 6, 2010
  7. Jeff KingJun 6, 2010
  8. Eli BarzilayJun 6, 2010
  9. Jeff KingJun 7, 2010
  10. Junio C HamanoMay 31, 2010
  11. Ramkumar RamachandraMay 31, 2010
  12. Jan KrügerMay 31, 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.