environment manages deployment environments.
Deployment environments provide named targets for releases, deployments, approval policy, and automation.
Use environment to list, create, or delete repository deployment
environments.
Choose the exact environment name used by your deployment workflows, such as
staging or production. Removing an environment can affect deployment
history, approvals, secrets, variables, or provider UI state depending on the
provider.
gitfleet environment list --repo owner/repositorygitfleet environment create production --repo owner/repositorygitfleet environment delete production --repo owner/repository --yes
GitHub and GitLab both expose environment support.
Deleting an environment is destructive and requires confirmation or --yes.
Use --json for deployment inventory and environment audits.