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

[BUG] git gui: "unstage line" not working on newly-added file

From
YDYann Dirson <ydirson@free.fr>
Date
Jul 29, 2010, 20:53 UTC
Message-ID
<20100729205339.GE2864@home.lan>

When looking using git-gui at a file that does not exist in HEAD and has been added to the index, lines cannot be selectively staged out of the index.

It would look like outside of the gui such (or similar) behaviour would be accessible from an interactive mode in reset, but it looks like we do not have that.

I was able, however, to "add -N" the file and selectively stage the lines that I wanted using git-gui.

Message 1 of 1 in “[BUG] git gui: "unstage line" not working on newly-added file”
  1. Yann DirsonJul 29, 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.