fix: respect commit_docs when merging branches in complete-milestone
Strip .planning/ from staging before merge commits when commit_docs is false. Prevents planning files from being committed during milestone completion even when using branching strategies. - Add commit_docs to config extraction in handle_branches step - Reset .planning/ from staging before squash merge commits - Use --no-commit flag for --no-ff merges to allow reset before commit - Document branch merge behavior in planning-config.md Closes #608 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -101,6 +101,8 @@ To use uncommitted mode:
|
||||
git commit -m "chore: stop tracking planning docs"
|
||||
```
|
||||
|
||||
4. **Branch merges:** When using `branching_strategy: phase` or `milestone`, the `complete-milestone` workflow automatically strips `.planning/` files from staging before merge commits when `commit_docs: false`.
|
||||
|
||||
</setup_uncommitted_mode>
|
||||
|
||||
<branching_strategy_behavior>
|
||||
|
||||
Reference in New Issue
Block a user