I would like to issue one command that allows me to interactively either add a piece, or DISABLE a piece, or leave an unconnected hunk ...
In fact, as I know, there is only:
git add -p : ADDs interactively (or leave uninstalled)
git checkout -p : DISCARDS interactively (or leave uninstalled)
Is there a command in GIT that has the options "git add -p" and "git checkout -p" COMBINED?
The answer to this question provided here is not satisfactory :(
source share