You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -463,6 +463,14 @@ The config is editable via the **Global Settings** dialog in the web UI (gear ic
463
463
|`skip_push_after_commit`|`false`| Skip push after /aif-commit |
464
464
|`strict_base_update`|`false`| Hard-fail if `git pull --ff-only` of base fails |
465
465
466
+
When `config.yaml` is absent, Handoff treats the base branch as repository
467
+
discovery: it first checks the branch pointed to by `refs/remotes/origin/HEAD`,
468
+
then falls back to the legacy `master` branch, and only then to the built-in
469
+
`main` default. When `base_branch` is explicitly configured and still points to
470
+
the default `main`, but the local repository does not have `main`, Handoff uses
471
+
the same `origin/HEAD` then `master` fallback. Explicit non-default base
472
+
branches are strict: if you set `base_branch: develop`, that branch must exist.
473
+
466
474
#### `skip_push_after_commit` semantics
467
475
468
476
Controls whether the approve-done auto-commit flow (and any other `/aif-commit` run originating from the API) performs `git push` after creating the commit:
0 commit comments