DEV Community

loading...

Discussion on: Replacing master with main in Github

Collapse
darkwiiplayer profile image
DarkWiiPlayer

Branches are really just labels git puts on objects and updates every time you commit on them. When you branch off, you're branching from a commit, not from another branch. When merging two branches, git doesn't care about their names either, just about the latest commit they have in common, which doesn't change with a rename.