reachable commit

A commit that can be found by starting from a branch, tag or HEAD and following parent links; commits that cannot are unreachable.

In more detail

Git log and clones only see reachable commits. Unreachable ones, such as the originals left behind by a rebase, stay in the object database for a while and can be recovered through the reflog before garbage collection eventually deletes them.

Related terms

Taught in

References