finish-feature
Run this command after your pull request or merge request has been merged. It synchronizes your shadow base branch with the public base branch and integrates your local feature work into your local development history.
Usage
git shadow finish-feature
Run this from your feature/x@local branch, after the public feature/x has been merged.
What it does
- Updates your public base branch (default:
develop) from remote - Merges
developintodevelop@localto keep your shadow base up to date - Merges
feature/x@localintodevelop@local, preserving your local comments and notes in the shadow base history - Optionally deletes
feature/xandfeature/x@local
Result
develop@local ← now contains your feature's local reasoning + updated base
develop ← updated from remote
Your develop@local branch accumulates the local thinking layer of every feature over time — a running history of how you reason about the codebase.
Why this matters
Without finish-feature, your @local branches pile up and your develop@local diverges from the main timeline. Running it keeps your shadow branch structure clean and coherent.
Related
- new-feature — the corresponding start-of-feature command
- publish — publish clean commits before finishing