Revert hunk?
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
Am 01.05.2010 21:54, schrieb Steve Folly:
Quoted 3 lines
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
Quoted 3 lines · 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?
cola has the ability to stage/revert on a per line basis:
Signature · 4 lines
Uri Please consider the environment before printing this message. http://www.panda.org/how_you_can_help/