What is special about the commit just created?
$ git switch --orphan gh-pages $ git add index.html $ git commit -m "Site"
- It is a merge with
main - It has two parent commits
- It has no parent commit
- It is shared with
main
--orphan starts a branch with no history, so its first commit is a root commit, unrelated to any other branch.