Am 12/17/2012 9:48, schrieb Junio C Hamano:
> Here is what I tentatively have ...

Thanks!

> -'git checkout' [--detach] [<commit>]::
> +'git checkout' --detach [<commit>]::
> +'git checkout' <commit>::
>  
> -     Update the index and working tree to reflect the specified
> -     commit and set HEAD to point directly to <commit> (see
> -     "DETACHED HEAD" section.)  Passing `--detach` forces this
> -     behavior even if <commit> is a branch.
> +     Prepare to work on building new history on top of <commit>,
> +     by detaching HEAD at the commit (see "DETACHED HEAD"
> +     section), and updating the index and the files in the
> +     working tree.  Local modifications to the files in the
> +     working tree are kept, so that they can be committed on the
> +     <branch>.

The last half-sentence should better be removed.

> ++
> +Passing `--detach` forces this behavior even if <commit> is a branch.
>  
>  'git checkout' [-p|--patch] [<tree-ish>] [--] <pathspec>...::

-- Hannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to