Next | MJD's Git tips and utilities | 18 |
Wrong: git-rebase moves a branch to another place in the repository
Right: git-rebase applies a series of changes, starting from a different place
Among humans, “branch” means “a named commit, and (some of) its ancestors”
Whether a certain commit is or isn't “in the current branch” is entirely contextual
Branches are a useful fiction
But only a useful fiction
But they are one Git doesn't truly understand
(This is Git's greatest weakness, in my opinion.)
Next | Copyright © 2021 M. J. Dominus |