From 64ddf0d6364f9f7ccbb16306ff53a36f6b9733ab Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 29 Jun 2015 19:09:05 +0300 Subject: [PATCH] Specify that unstaging remove changes from index Not from the working directory. --- pep-git.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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". -- 2.39.2