gwz commit¶
Commit staged changes across members and the workspace root.
The commit message is applied to every repository that receives a commit.
Options¶
| Option | Meaning |
|---|---|
-m, --message <message> |
Commit message applied to every committed repository. Required. |
-a, --all |
Stage tracked modifications first, like git commit -a. |
Examples¶
Commit staged changes:
Stage tracked modifications and commit:
Commit only selected members:
Notes¶
- Use
gwz addbeforegwz commitwhen you need to stage new files or selected pathspecs. -astages tracked modifications only; it does not stage new untracked files.- Run
gwz statusbefore and after commit to confirm what changed.