Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 365 Bytes

12-head.md

File metadata and controls

15 lines (8 loc) · 365 Bytes

Head

If you do git log you see HEAD somewhere.
What is this HEAD?

If you do checkout, you jump to a certain commit or branch.

The HEAD is the position where in the commit history you currently are.

If you compare it with a supermarket checkout, the HEAD is your shopping cart: the current status of what is in there.


Next