post-receive moves an unborn HEAD to the first branch a push creates and records it, so a first push of master or trunk clones with a checkout. repo settings default-branch <owner/name> <branch> moves it later and refuses a branch that does not exist; the settings page carries the same control. Parity row and a Users line. e2e covers the first push, the setting, the refusals, and the web field.
Closes #189
retargeted from wiki-users-ssh to main: !336 merged
2026-09-08 02:35 UTC