Mastering git, Part 13, Detached HEAD in Git
Detached HEAD Before everything, let’s have a look at some stuff. Everything in Git is about commits, and many git commands accept commits as a parameter, i.e.
1 |
git checkout <HASH-ID> |
We have to understand how to reference commits. Hash The SHA-1 hash of a commit is the most straightforward method to refer to it. In the
1 |
git log |
[…]
Mastering git, Part 13, Detached HEAD in Git Read More »