Skip to main content
Links an Alpic project to a GitHub remote repository. Once connected, you can install the Alpic GitHub App to trigger automatic deployments on every push.
The directory must already be linked to an Alpic project (via alpic deploy) and must be a git repository with at least one GitHub remote configured.

Usage

alpic git connect
Detects GitHub remotes in the current directory and prompts to select one.

Extended Usage

# Connect a project in a specific directory
alpic git connect ./my-app

# Auto-select the only available remote without prompting
alpic git connect --yes

# Connect using a specific named remote
alpic git connect --remote-name origin

Options

FlagShortDescriptionDefault
--yes-yAutomatically select the remote when only one is availablefalse
--remote-nameName of the remote to connect
Positional arguments
ArgumentRequiredDescription
directoryNoDirectory to connect (defaults to current directory)