fe1fdb9f9c
- lib/git.ts: add branch:"main" to Gitea POST payload (required when repo has no branch yet or is freshly initialized); treat 409 on GET same as 404 (empty repo has no tree, Gitea returns 409 Conflict — proceed to create first file) - lib/git.ts: improve 404 error hint with actionable checklist (URL format, owner/repo names, token scope, repo existence) - settings.tsx: add Gitea info card clarifying URL format (no /api/v1), token format (raw value only, no "Bearer" prefix), repo initialization requirement Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>