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

Revert hunk?

From
SFSteve Folly <steve@spfweb.co.uk>
Date
May 1, 2010, 19:54 UTC
Message-ID
<loom.20100501T215211-11@post.gmane.org>

git gui has an option to revert changes, but that applies to the whole file. Is there an option to revert a line or hunk rather than the whole file?

Thanks, Steve

Next: Johannes Sixt
Message 1 of 3 in “Revert hunk?”
  1. Steve FollyMay 1, 2010
  2. Johannes SixtMay 1, 2010
  3. Uri OkrentMay 28, 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.