Git for your ComfyUI environments — version control, package management, and reproducible sharing.
- 🔄 Isolated environments — test new nodes without breaking production
- 📦 Git-based versioning — commit changes, rollback when things break
- 🚀 One-command sharing — export/import complete working environments
- 💾 Smart model management — content-addressable index, no duplicate storage
- 🔧 Standard tooling — built on UV and pyproject.toml, works with Python ecosystem
- 🖥️ Cross-platform — Windows, Linux, macOS
# With UV (recommended)
uv tool install comfygit
# Or with pip
pip install comfygitNeed UV? See UV installation.
$ cg init
Initialized ComfyGit workspace at ~/comfygit
$ cg create my-project --use
Created environment 'my-project'
Active environment: my-project
$ cg node add comfyui-impact-pack
Resolving comfyui-impact-pack...
Installing ComfyUI-Impact-Pack from registry
+ comfyui-impact-pack@1.2.3
$ cg commit -m "Initial setup with Impact Pack"
[main a28f333] Initial setup with Impact Pack
1 file changed, 15 insertions(+)
$ cg run
Starting ComfyUI at http://localhost:8188See the documentation for more examples including version control workflows, sharing environments, and team collaboration.
Full documentation at docs.comfygit.org including:
- How It Works — architecture and design
- Model Management — content-addressable indexing
- Sharing Environments — export/import and git remotes
cg create <name> # Create new environment
cg list # List all environments
cg use <name> # Set active environment
cg status # Show environment state
cg run # Run ComfyUIcg node add <id> # Add from registry
cg node add <github-url> # Add from GitHub
cg node remove <id> # Remove node
cg node list # List installed nodescg commit -m "message" # Save snapshot
cg log # View history
cg revert <commit> # Undo a commit
cg checkout <commit> # Explore old statecg export <file.tar.gz> # Export environment
cg import <file.tar.gz> # Import environment
cg push / cg pull # Sync with git remoteContributions welcome! See CONTRIBUTING.md for details.
- GitHub Issues — bugs and features
- GitHub Discussions — questions and ideas
- Discord — community chat
ComfyGit is dual-licensed under AGPL-3.0 for open-source use and proprietary licenses for commercial use. See the LICENSE.txt for more information.