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
| Command | Description |
|---|---|
gtl env connect gh | Connect gh to a repo-selected GitHub account |
gtl env connect glab | Connect glab to a repo-selected GitLab account |
Examples
bash
gtl env connect gh work-gh
gtl env connect glab work-glab --host gitlab.comFull 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.