The Workflow
git push. GitHub Actions handles deployment.
Register Components
Tell Edgit what files are components:Create Versions
Use semantic versioning (v..):components/prompts/my-prompt/v1.0.0(version tag)components/prompts/my-prompt/staging(environment tag)
components/prompts/) is automatically inferred from the component type.
Deploy to Environment
Mark which versions are deployed to which environments:components/prompts/my-prompt/prod that point to v1.0.0. Your CI/CD reads these tags.
When to Use —force
-
Version tags: No
--forceneeded. These are permanent markers. -
Environment tags:
--forcerequired when moving environments.
Check Status
See what’s deployed where:Rollback
Something broke? Rollback instantly:View Versions
See component versions and details:Version Agents Too
Agents can be versioned just like components:Common Patterns
Progressive Rollout
A/B Testing
Emergency Rollback
Use Edgit for All Git Operations
Remember: Edgit is 100% Git-compatible.Cheat Sheet
Next Steps
Versioning Guide
Deep dive into versioning strategies
Deployment Strategies
Progressive rollouts, A/B testing, canaries
CI/CD Integration
Automate versioning in your pipeline
CLI Reference
Complete command documentation

