docs

docs and guides
git clone git://git.2f30.org/docs.git
Log | Files | Refs

commit 83b33dc5b17c9f48faaad8d495c84693001329ca
parent 1c20b1c2351ff78d5ba681413123988c568cd647
Author: sin <sin@2f30.org>
Date:   Thu Jun 27 18:55:37 +0300

Add git-checkout(1)

Diffstat:
simple-git | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/simple-git b/simple-git @@ -99,6 +99,10 @@ To rename a tracked file/dir: This will also stage the change. You can just git-commit(1) at this point. +To revert a modified file/dir to whatever is in HEAD: + + $ git checkout <file|dir> + For a simple workflow you can avoid using the staging area completely. Just use the -am option for git-commit(1) so you can stage and commit everything in one step.