Skip to content

gtl env connect

Parent command: gtl env.

Add or update provider-specific .envrc blocks for gh and glab without replacing unrelated .envrc content.

Aliases

conn

Usage

bash
gtl env connect [command]

Subcommands

CommandDescription
gtl env connect ghConnect gh to a repo-selected GitHub account
gtl env connect glabConnect glab to a repo-selected GitLab account

Examples

bash
gtl env connect gh work-gh
gtl env connect glab work-glab --host gitlab.com

Full Help

text
Add or update provider-specific .envrc blocks for gh and glab without replacing unrelated .envrc content.

Usage:
  gtl env connect [command]

Aliases:
  connect, conn

Examples:
gtl env connect gh work-gh
gtl env connect glab work-glab --host gitlab.com

Available Commands:
  gh          Connect gh to a repo-selected GitHub account
  glab        Connect glab to a repo-selected GitLab account

Flags:
  -h, --help   help for connect

Use "gtl env connect [command] --help" for more information about a command.

Released under the MIT License.