Moving HEAD
suggest changeWhen you run git checkout
on a commit (specified by hash or ref) you’re telling git
to make your working directory look like how it did when the snapshot was taken.
- Update the files in the working directory to match the
tree
inside thecommit
- Update
HEAD
to point to the specified hash or ref
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents