Git: Add part of (changed) file to index *by line numbers*

Posted by RobM on Stack Overflow See other posts from Stack Overflow or by RobM
Published on 2010-05-06T17:36:07Z Indexed on 2010/05/06 17:48 UTC
Read the original article Hit count: 140

Filed under:

Is there a git command to add differences within a range of line-numbers to the index?

I want to be able to select lines in my editor and run a macro to add any changes in the selection to the index.

© Stack Overflow or respective owner

Related posts about git