CLICommand referenceprojectgit

project git

Commands, arguments, and options for synq project git.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

synq project git

Manage git linkage and auto-deploy

synq project git [options] [command]
SubcommandPurpose
link [options] <id>Link a GitHub repository to a project
branch <id> <branch>Set the deploy branch
auto-deploy [options] <id>Enable or disable push-to-deploy
webhook-domain [options] <id> [domain]Set or clear the domain that receives GitHub webhooks

synq project git auto-deploy

Enable or disable push-to-deploy

synq project git auto-deploy [options] <id>
ArgumentMeaning
idProject ID
OptionMeaning
--enableEnable auto-deploy
--disableDisable auto-deploy

synq project git branch

Set the deploy branch

synq project git branch [options] <id> <branch>
ArgumentMeaning
idProject ID
branchBranch name

Link a GitHub repository to a project

synq project git link [options] <id>
ArgumentMeaning
idProject ID
OptionMeaning
--owner <owner>GitHub owner/org
--repo <repo>Repository name
--branch <branch>Branch (defaults to the repo's default branch)
--installation-id <id>GitHub App installation id

synq project git webhook-domain

Set or clear the domain that receives GitHub webhooks

synq project git webhook-domain [options] <id> [domain]
ArgumentMeaning
idProject ID
domainVerified project domain (omit with --clear to unset)
OptionMeaning
--clearClear the webhook domain

On this page