* Revert hunk?
@ 2010-05-01 19:54 Steve Folly
2010-05-01 21:38 ` Johannes Sixt
2010-05-28 4:17 ` Uri Okrent
0 siblings, 2 replies; 3+ messages in thread
From: Steve Folly @ 2010-05-01 19:54 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Revert hunk?
2010-05-01 19:54 Revert hunk? Steve Folly
@ 2010-05-01 21:38 ` Johannes Sixt
2010-05-28 4:17 ` Uri Okrent
1 sibling, 0 replies; 3+ messages in thread
From: Johannes Sixt @ 2010-05-01 21:38 UTC (permalink / raw)
To: Steve Folly; +Cc: git
Am 01.05.2010 21:54, schrieb Steve Folly:
> 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?
Stage everything except that hunk or line, and then revert.
-- Hannes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Revert hunk?
2010-05-01 19:54 Revert hunk? Steve Folly
2010-05-01 21:38 ` Johannes Sixt
@ 2010-05-28 4:17 ` Uri Okrent
1 sibling, 0 replies; 3+ messages in thread
From: Uri Okrent @ 2010-05-28 4:17 UTC (permalink / raw)
To: Steve Folly; +Cc: git
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-28 4:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-01 19:54 Revert hunk? Steve Folly
2010-05-01 21:38 ` Johannes Sixt
2010-05-28 4:17 ` Uri Okrent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).