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

Re: Revert hunk?

From
Uri Okrent <uokrent@gmail.com>
Date
May 28, 2010, 04:17 UTC
Message-ID
<AANLkTinPrO25SnneENN6ryofn5mZ0a4CxqXSnXBbP2xO@mail.gmail.com>
In-Reply-To
<loom.20100501T215211-11@post.gmane.org>
On Sat, May 1, 2010 at 12:54 PM, Steve Folly <steve@spfweb.co.uk> wrote:
> 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?
cola has the ability to stage/revert on a per line basis:
http://cola.tuxfamily.org/
-- 
   Uri

Please consider the environment before printing this message.
http://www.panda.org/how_you_can_help/
Previous: Johannes Sixt
Message 3 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.