Change commands to be more precise #328

Open
wants to merge 1 commit into
from

Projects

None yet

1 participant

@rgaiacs
Contributor
rgaiacs commented Aug 27, 2016
$ git checkout HEAD file

and

$ git checkout master file

will produce the same result when HEAD and master point to the same commit
but will produce different results when HEAD and master point to different commits.

To make the text more precise and compatible with "last saved commit"
we suggested learners to use

$ git checkout master file
@rgaiacs rgaiacs Change commands to be more precise
$ git checkout HEAD file

and

$ git checkout master file

will produce the same result when HEAD and master point to the same commit
but will produce different results when HEAD and master point to different commits.

To make the text more precise and compatible with "last saved commit"
we suggested learners to use

$ git checkout master file
2616695
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment