Re:Confusing Git Terminology
by Terr_ on Thursday November 02, 2023 @04:22PM
(#38119547)
> Last but not least, when everything goes wrong, the single command that can take you out of any weird situation is `git reflog` which shows you all the commits
that HEAD has pointed to.
And if you're paranoid like me, a `git rev-parse HEAD` and copying that string down somewhere before embarking on a tricky process.
And if you're paranoid like me, a `git rev-parse HEAD` and copying that string down somewhere before embarking on a tricky process.