Loading...
Loading...
Compare original and translation side by side
undefinedundefined
**如果測試失敗:**
停止。不要繼續執行步驟 2。
**如果測試通過:** 繼續執行步驟 2。
**If tests fail:**
Stop. Do not proceed to Step 2.
**If tests pass:** Proceed to Step 2.undefinedundefined
或者問:“這個分支從主分支中分離出來 - 這是正確的嗎?”
Alternatively ask: "This branch was branched off <base-branch> - is that correct?"Implementation complete. What would you like to do?
1. Merge back to <base-branch> locally
2. Push and create a Pull Request
3. Keep the branch as-is (I'll handle it later)
4. Discard this work
Which option?Implementation complete. What would you like to do?
1. Merge back to <base-branch> locally
2. Push and create a Pull Request
3. Keep the branch as-is (I'll handle it later)
4. Discard this work
Which option?undefinedundefined
然後:清理工作樹(步驟 5)
Then: Clean up worktree (Step 5)undefinedundefined
然後:清理工作樹(步驟 5)
Then: Clean up worktree (Step 5)This will permanently delete:
- Branch <name>
- All commits: <commit-list>
- Worktree at <path>
Type 'discard' to confirm.git checkout <base-branch>
git branch -D <feature-branch>This will permanently delete:
- Branch <name>
- All commits: <commit-list>
- Worktree at <path>
Type 'discard' to confirm.git checkout <base-branch>
git branch -D <feature-branch>git worktree list | grep $(git branch --show-current)git worktree remove <worktree-path>git worktree list | grep $(git branch --show-current)git worktree remove <worktree-path>| 選項 | 合併 | 推 | 保留工作樹 | 清理分行 |
|---|---|---|---|---|
| 1.本地合併 | ✓ | - | - | ✓ |
| 2.建立公關 | - | ✓ | ✓ | - |
| 3. 保持原樣 | - | - | ✓ | - |
| 4. 丟棄 | - | - | - | ✓(力) |
| Option | Merge | Push | Keep Worktree | Clean Up Branch |
|---|---|---|---|---|
| 1. Merge Locally | ✓ | - | - | ✓ |
| 2. Create PR | - | ✓ | ✓ | - |
| 3. Keep As-Is | - | - | ✓ | - |
| 4. Discard | - | - | - | ✓ (force) |