Skip to main content
The git commands let you connect a repository, trigger deploys, view build logs, and roll back — all without leaving the terminal.

Connect a Repository

--start-cmd and --release-cmd need CLI v1.18.0 or later. If InstaPods can’t register a push webhook on the repo itself (a repo connected by URL, with no GitHub App access), connect prints the webhook URL and secret to add in the repo’s settings. Until you add it, pushes don’t deploy; run instapods git deploy instead. Examples:

Change Settings

Changes a connected repo’s settings (requires CLI v1.18.0 or later): the same fields as the dashboard’s Git tab. Only the flags you pass change. Pass an empty value to clear an override and go back to the detected command.
Settings apply from the next deploy.

Disconnect

Removes the git connection and webhook. Deployed code stays in the pod.

Status

Shows the connected repository, branch, auto-deploy setting, and latest deployment status.

Trigger a Deploy

Deployment History

Build Logs

Without a deployment ID, shows logs from the most recent deployment.

Rollback

Without a deployment ID, rolls back to the previous deployment.