Code

checkout-index: allow checking out from higher stages.
[git.git] / Documentation / git-checkout-index.txt
index 97eef22ccd5fe506e975057afbfef770af0814e9..9f32c65aaba057d684c349c6ab3f3fde45a36f13 100644 (file)
@@ -9,7 +9,7 @@ git-checkout-index - Copy files from the index to the working directory
 SYNOPSIS
 --------
 'git-checkout-index' [-u] [-q] [-a] [-f] [-n] [--prefix=<string>]
-                  [--] <file>...
+       [--stage=<number>] [--] <file>...
 
 DESCRIPTION
 -----------
@@ -40,6 +40,10 @@ OPTIONS
        When creating files, prepend <string> (usually a directory
        including a trailing /)
 
+--stage=<number>::
+       Instead of checking out unmerged entries, copy out the
+       files from named stage.  <number> must be between 1 and 3.
+
 --::
        Do not interpret any more arguments as options.