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

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

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

Options

FlagDescriptionDefault
--non-interactiveAutomatically select the remote when only one is availablefalse
--remote-nameName of the remote to connect