Skip to content

Commit a364e88

Browse files
Merge feat/mdd-phase7d-push-prompt: Phase 7d push prompt
2 parents df0f88e + 0adef7e commit a364e88

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.claude/commands/mdd.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,12 +713,16 @@ Changes: <N files changed, N insertions, N deletions> (from git diff --stat)
713713
2. Commit using the `/commit` skill (which generates a conventional commit message from context)
714714
3. Switch to main: `git checkout main`
715715
4. Merge: `git merge feat/<feature-name> --no-ff -m "Merge feat/<feature-name>: <feature title>"`
716-
5. Report: "✅ Merged to main. Branch `feat/<feature-name>` preserved. Run `git push` when ready."
716+
5. Ask: "✅ Merged to main. Push to origin now? (yes / no)"
717+
- If yes: `git push origin main`
718+
- If no: report "Branch `feat/<feature-name>` preserved. Run `git push` when ready."
717719

718720
**If (b) Commit only:**
719721
1. Stage all changes: `git add -A`
720722
2. Commit using the `/commit` skill
721-
3. Report: "✅ Committed on `feat/<feature-name>`. Merge to main when ready."
723+
3. Ask: "✅ Committed on `feat/<feature-name>`. Push this branch to origin? (yes / no)"
724+
- If yes: `git push origin feat/<feature-name>`
725+
- If no: report "Run `git push` when ready."
722726

723727
**If (c) Skip:**
724728
Report: "Skipped. Branch `feat/<feature-name>` — run `/commit` and then merge when ready."

0 commit comments

Comments
 (0)