Nettoyage auto des branches
Supprime automatiquement les branches de travail terminées et propres après la session.
Comment l'utiliser
L'installation se fait depuis le dépôt de l'auteur, qui en donne la marche à suivre.
Présentation
La licence de cette création (aucune licence publiée) ne nous permet pas de la reproduire. Elle est disponible gratuitement chez son auteur.
Cleans up finished git worktrees as soon as a turn or a session ends. When a turn ends (the main session's or a subagent's), it runs `offcut apply --only auto --yes` for the session's repo in the background: a worktree goes only if it is clean, pushed, and its work is merged or eventlog says its agent is done. When the session ends, it runs once more a few seconds later, also clearing unused build caches, so the session's own worktree can go. Every removal is recorded for `offcut restore`. Inert when `offcut` is not installed, outside a git repo, or with OFFCUT=off.
Description d'origine, en anglais
Cleans up finished git worktrees as soon as a turn or a session ends. When a turn ends (the main session's or a subagent's), it runs `offcut apply --only auto --yes` for the session's repo in the background: a worktree goes only if it is clean, pushed, and its work is merged or eventlog says its agent is done. When the session ends, it runs once more a few seconds later, also clearing unused build caches, so the session's own worktree can go. Every removal is recorded for `offcut restore`. Inert when `offcut` is not installed, outside a git repo, or with OFFCUT=off.
D'où vient cette fiche
Création de radiator-engineering, publiée sur radiator-engineering/offcut sous licence aucune licence publiée.
Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.
