feat(branches): list the branches of a repository and delete one from the page
- The branch count and the branch menu link to the new Branches page. - A person with write access can delete a branch. refs refuses the default branch, a branch that an open pull request uses, and a branch that an agent holds.
8 files changed · +241 −4
apps/backend/browse.ts+5 −0
apps/backend/contract/handles.ts+5 −0
apps/backend/contract/views.ts+10 −0
apps/backend/handles/repo.ts+52 −2
apps/frontend/docs/git.md+16 −0
apps/frontend/routes.ts+1 −0
apps/frontend/routes/repo-branches.tsx+148 −0
packages/design-system/components/repo.tsx+4 −2