3 ms·
Well git internally is a directed acyclic graph of filesystem changes, and branches are just tags on nodes. Master is just a convention-based name for the defa
by lukevp 6y ago
Well git internally is a directed acyclic graph of filesystem changes, and branches are just tags on nodes. Master is just a convention-based name for the default branch when the repo is first created, but it could be called anything. The only way that scripts would break would be if they explicitly listed master, and that should be able to be changed (or git could fall back by reserving both master and main as meaning the "Default" branch and either branch name was interoperable in the command set). That would only break cases where users were also using "main" to mean something else.