gwz capture¶
Record the live worktree state into the lock.
gwz capture updates workspace lock state from the live repositories. It does
not check out, pull, push, or otherwise rewrite member worktrees.
Examples¶
Capture current selected member state:
Capture all members:
Capture one member by path:
Notes¶
- Use
gwz statusbefore capture to see whether the workspace is dirty. - Use capture when the current checked-out member revisions are the desired lock state.
- Commit updated workspace metadata after capture when the lock change should be shared.