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

Re: [Bug] git-status shows bad instructions prior to first commit

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 12, 2008, 03:13 UTC
Message-ID
<7vzlu66f5g.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<F1B5775C-1C11-4C30-B72E-9EB4076613A5@gmail.com>
"Rhodes, Kate" <masukomi@gmail.com> writes:
> While we're at it, can someone please explain to me how to remove a
> file from the index prior to the first commit? I'm stumped.
rm --cached
Previous: Rhodes, KateNext: Jeff King
Message 2 of 4 in “[Bug] git-status shows bad instructions prior to first commit”
  1. Rhodes, KateFeb 12, 2008
  2. Junio C HamanoFeb 12, 2008
  3. Jeff KingFeb 12, 2008
  4. Junio C HamanoFeb 13, 2008

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.