From: Oleg Broytman Date: Mon, 29 Jun 2015 16:09:05 +0000 (+0300) Subject: Specify that unstaging remove changes from index X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=64ddf0d6364f9f7ccbb16306ff53a36f6b9733ab;p=git-wiki.git Specify that unstaging remove changes from index Not from the working directory. --- diff --git a/pep-git.txt b/pep-git.txt index af9b34d..d20b336 100644 --- a/pep-git.txt +++ b/pep-git.txt @@ -422,9 +422,10 @@ difference very clearly. Bare repositories don't have indices or working trees so in a bare repo only soft reset is possible. Mixed mode reset with a path or paths can be used to unstage changes - -that is, to remove changes added with ``git add`` for committing. See -`The Book `_ -for details about unstaging and other undo tricks. +that is, to remove from index changes added with ``git add`` for +committing. See `The Book +`_ for details +about unstaging and other undo tricks. TODO: describe undo strategies: git reflog, git revert. "Commit early, commit often".