r.ductor wrote:

> man git-chechout states:
>
> "Updates files in the working tree to match the version in the index
> or the specified tree.  If no paths are given, git checkout will
> also update HEAD to set the specified branch as the current branch. 
>
>  git checkout [<branch>], git checkout -b <new branch> [<start point>] 
>  This form switches branches by updating the index, working tree,
>  and HEAD to reflect the specified branch. "
>
> The key is the meaning of "to reflect": a normal (?) human being
> like me understands that git  checkout branch will reset the
> contents of working directory, and index exactly equal to that of
> the head of the branch.  As you might know this is not true (see
> example below).
>
> Please explain in the man page what checkout is exactly supposed to
> do. Thanks.

Thanks for reporting.  Let's take this upstream.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to