Petr Baudis <pasky@xxxxxxx> writes: > The manual page of git-cherry-pick and git-revert asserts that -n works > primarily on the working tree, while in fact the primary object it operates > on is the index, and the changes only "accidentally" propagate to the > working tree. This e.g. leads innocent #git IRC folks to believe that you > can use -n to prepare changes for git-add -i staging. True, and false ;-) Just "unstage" first in your "git add -i" session and then add only the necessary pieces back to the index (alternatively you can "reset" before entering "git add -i" session). The change is good; will apply. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html