先進入主 worktree
cd /Users/ww/coding/main_worktree
合併 codex 建立的 worktree
git merge --ff-only codex/new-branch
驗證合併結果
git log --oneline --decorate -3
若無問題,則推送
git push
刪除已用完的 worktree
git worktree remove codex-worktree
git branch -d codex/new-branch