Workflow Tracking¶
ComfyGit tracks ComfyUI workflow files as part of the environment recipe.
A tracked workflow can carry:
- the editable ComfyUI workflow JSON
- node package dependencies
- model dependencies
- source and criticality metadata
- workflow contract metadata
- captured API prompt artifacts for served contracts
Where Workflows Live¶
ComfyUI saves workflow files in its user directory. ComfyGit copies tracked workflow state into the environment repository so it can be committed and shared.
Use:
to see tracked workflows and sync status.
Add Or Update A Workflow¶
- Open ComfyUI with
cg run. - Create or load a workflow.
- Save it from ComfyUI.
- Use ComfyGit Manager or the CLI to resolve dependencies.
What Gets Committed¶
Workflow commits can include:
workflows/<name>.json- manifest workflow metadata
- model dependency entries
- custom node dependency references
workflow_api/<name>.api.jsonwhen a workflow contract exists
Model bytes are not committed.
When A Workflow Changes¶
After editing a workflow:
If the workflow has a saved contract and you changed mapped inputs, outputs, or the graph behind them, re-save the contract in Manager.
Read more: Workflow contracts.