lizard git

Connect your Lizard account to GitHub, see which repositories a project’s services deploy from, and switch a service to another branch. The GitHub App connection belongs to your Lizard account, not to one project.

The other lizard git subcommands belong to Lizard Git, which this page does not cover.

Usage

lizard git connect
lizard git status [flags]
lizard git checkout <service> <branch> [flags]

Without -p, status and checkout use the linked project, or your default project in an unlinked folder.

Subcommands

lizard git connect

Connect the GitHub App to access private repositories. The command opens GitHub to install the app, waits for you to press Enter, then checks the connection. If the app is already connected, it says so. With --json or without a terminal, it prints the install URL instead: { installed: false, installUrl }.

lizard git status

Show whether the GitHub App is connected, and the repository and branch each service in the project deploys from.

FlagDescription
-p, --project <id>Project name, slug, or ID

lizard git checkout <service> <branch>

Switch a service to a different branch and redeploy.

FlagDescription
--detachSkip log streaming
-p, --project <id>Project name, slug, or ID

Examples

Connect the GitHub App

lizard git connect

Check connection and repository status

lizard git status

Switch a service to a different branch

lizard git checkout api staging

Switch branches without streaming logs

lizard git checkout api staging --detach

See also

Updated