From: Junio C Hamano Date: Wed, 16 Jul 2008 15:49:43 GMT Subject: Re: [PATCH] Documentation/git-cherry-pick.txt et al.: Fix misleading -n description Message-ID: <7vmykhu8vc.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080716123344.5875.88693.stgit@localhost> Petr Baudis 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.