gwz add¶
Stage file contents across workspace repositories.
gwz add is the multi-repository equivalent of git add. Each pathspec is
resolved relative to the current directory, routed to the member or workspace
root repository that owns it, and staged there.
Arguments And Options¶
| Item | Meaning |
|---|---|
[pathspec]... |
Paths to stage, resolved like git add. |
-A, --all |
Stage all changes across every workspace repository. |
Examples¶
Stage one path:
Stage paths in different repositories:
Stage everything:
Notes¶
- Pair
gwz addwithgwz commit. - Use
gwz repo addto register an existing repository as a workspace member. --dry-runplans the staging operation without changing indexes.