I'm looking for a solution very close to the usage with mercurial, as seen below. I have tried git add -p
, git add -e
, git add --interactive
, tig
and few others.
I've also looked at this and this.
However these methods prove to be cumbersome and annoying when I have to do this across multiple hunks over different files.
Note that GUI is not an option.
Edit-1: I've tried vim fugitive and can't select hunks like this in fugitive as well.
Edit-2: Removed comparison with hg.
git add -p
. The mercurial example was provided as a way to relate how it does to show people what I actually mean. – Hippel