On Oct 26, 2007, at 9:20 PM, Alex Riesen wrote:
Pascal Obry, Fri, Oct 26, 2007 17:10:38 +0200:I'm very new to Git... but start to love it :) Before committing sometimes I want to remove a specific hunk. Say in file a.txt I have in the diff 3 hunks, I want to revert/delete/remove the second one. Is there a way to do that ?Take a look at git-gui. Try right-clicking in the diff pane at the bottom.
This only allows you to stage a given hunk, not to remove one. Right now I'm in a situation where I need to remove a specific hunk to compile and it's sad that git-gui doesn't provide an option so that you can right-click -> revert hunk.
-- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory
Attachment:
PGP.sig
Description: This is a digitally signed message part