Repository navigation
v0.2.3
git stack sync brings your uncommitted changes along when it moves you off a merged branch, and cleans up worktrees whose directory you deleted.
If you were on a branch whose PR had merged with any uncommitted change at all, sync kept the branch and told you to commit or stash first, even when git would have carried the change across a switch fine. Sync now switches to trunk the way git switch does, brings along what git can carry (untracked files too) and tells you; it only keeps the branch when the switch would overwrite something, and names those files.
Sync also notices worktrees whose directory was deleted by hand, runs git worktree prune for them and says which it forgot, so their merged branches get cleaned up like any other instead of being kept forever. Locked worktrees are left alone, but you'll be told to git worktree unlock if the directory has gone.
What's Changed
New features
Fixes
Full Changelog: v0.2.2...v0.2.3
Upgrading
git stack update swaps the binary in place, after checking the archive against
checksums.txt. New to git-stack? Start with the install guide.