Hacker News new | past | comments | ask | show | jobs | submit login

In git add --patch you can do `e` to edit the hunk interactively, and this help comment appears:

    # To remove '-' lines, make them ' ' lines (context).
    # To remove '+' lines, delete them.
    # Lines starting with # will be removed.
I wish tig would have a line-by-line marking feature that would do just that behind the scenes, to make it more accessible.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: