TLDR Web Dev · OPINIONS & ADVICE

CONFUSING GIT TERMINOLOGY

jvns.ca15 min read

Summary from the TLDR Web Dev newsletter

There are various confusing Git terms like "detached HEAD state," "ours" and "theirs" in merging or rebasing, and "fast-forward." This article provides explanations for these terms. "HEAD" is the current branch, "detached HEAD state" occurs when HEAD points to a commit ID instead of a branch, and "fast-forward" refers to an easy branch update. The article also touches on other terms like "reference," "symbolic reference," "tree-ish," "index," "staged," and "cached" and the differences between "reset," "revert," and "restore.”