docs: record got worktree ref cleanup
Assisted-by: OpenCode:DeepSeek-V4.1-Flash
This commit is contained in:
1 parent
17156e1d97
commit
623b14f058
1 file changed
+3
@@ -97,6 +97,9 @@ make test-migration # after modelmigration changes
|
||||
A bare repository cannot be edited in place: server-side edits and merges need a
|
||||
temporary `got checkout` work tree and a `got commit`. Serialize per repository
|
||||
and clean up.
|
||||
- A temporary `got checkout` leaves `refs/got/worktree/base-<uuid>` in the
|
||||
repository. Delete it with `got ref -d` when removing the worktree, or refs
|
||||
accumulate and block object cleanup. `cgi/pages/publish.sh` does this.
|
||||
- Commits take their author from `GOT_AUTHOR` (or `got.conf`/Git config). Gitea's
|
||||
`GIT_AUTHOR_*` variables are ignored by got; pass `GOT_AUTHOR` per command rather
|
||||
than mutating shared repository config.
|
||||
|
||||
Reference in new issue
Block a user