I\'m looking for exactly the same behavior as
git add -i -p
But instead of composing a commit from my working directory, I\'d like to compose
Using cherry-pick -n is not really satisfactory, since it leaves me with the dirty job of removing all the unrequired code. I'd really just like to pick the selected changes I want to test.
The job may have been a dirty one before, but with the advent of git checkout --patch, you can now selectively discard changes, similar to git add -p
for adding.