[Fix] anvil:impl-issue のブランチ作成を git worktree 運用に対応させる#219
Merged
BlueEventHorizon merged 1 commit intoJul 17, 2026
Merged
Conversation
BlueEventHorizon
marked this pull request as ready for review
July 17, 2026 13:39
BlueEventHorizon
deleted the
feature/212-feature-anvil-impl-issue-git-worktree
branch
July 17, 2026 13:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
anvil:impl-issue のブランチ作成手順を git worktree 運用に対応させる。
Closes #212
背景
anvil:impl-issuePhase 0-3 はgit checkout <base-branch>でベースブランチをローカル checkout していたため、ベースブランチ(develop 等)が既に別 worktree で checkout 済みの環境ではfatal: '<branch>' is already used by worktreeで毎回失敗していた。やったこと
plugins/anvil/skills/impl-issue/SKILL.mdPhase 0-3 のブランチ作成手順を変更git checkout <base-branch>+git pull --ff-onlyを廃止し、git fetch origin <base-branch>のみで最新化git checkout -b <branch-name> origin/<base-branch> --no-trackでローカル checkout せずに新規ブランチを作成--no-trackの必要性:push.default=upstream等の設定では、付けない場合 upstream が誤ってorigin/<base-branch>に設定され、素のgit pushがベースブランチへ push されてしまう(push.default=simpleがデフォルトのため通常はエラー終了で防がれるが、設定に依存せず安全にするため付与)やらないこと(このプルリクエストのスコープ外とすること)
anvil:commit/anvil:create-pr等)の修正は対象外レビュー観点
plugins/anvil/skills/impl-issue/SKILL.mdPhase 0-3(141〜187行目)のみが変更対象レビューレベル
Lv0: まったく見ないでAcceptするLv1: ぱっとみて違和感がないかチェックしてAcceptするLv3: 実際に環境で動作確認したうえでAcceptする備考
なし