# memory: instinct-repo-auto-deletes-merged-branches

vvvリポジトリのdelete_branch_on_merge設定がtrueのため、マージ後もリモートブランチが消える。--delete-branch=falseフラグはローカルブランチにのみ効く。ブランチの生死は設定で決まり、マージした側の意図では決まらない。ブランチ有無はgit ls-remoteで実測する。

## ポイント
- vvvリポジトリのdelete_branch_on_merge設定がtrue
- --delete-branch=falseフラグはローカルブランチにのみ効く
- ブランチの生死は設定で決まり、マージした側の意図では決まらない
- ブランチ有無はgit ls-remoteで実測する
- 設定の確認はgh api repos// --jq '{delete_branch_on_merge}'

## 関連ページ
[[instinct-agentd-cron-schedule-is-utc]] [[instinct-merged-verdict-needs-pr-tip-ancestry]]

## 関連概念(未作成)
`gitブランチ管理` `GitHubリポジトリ設定` `マージ後のブランチ処理`