HubDocs

CLI reference / hub app <name>

hub app <name> git

Show or change the GitHub source the app deploys from.

Usage

hub app <name> git [options]

Arguments

ArgumentDescription
<name>The app, or app/instance for an instance other than prod, such as my-app/staging.

Options

OptionDescription
--watch <on|off>Turn auto-deploy on every push on or off.
--branch <name>Switch to a different branch and deploy its head.
--path <path>Switch to a different subfolder and deploy its head.
--disconnectStop tracking GitHub (keeps the release running).

On this page