Skip to content

gtl env set-git

Parent command: gtl env.

Set local git user.name/user.email and export matching GIT_AUTHOR_* and GIT_COMMITTER_* values from .envrc so child processes and agents use the same identity.

Aliases

git

Usage

bash
gtl env set-git <name> [flags]

Examples

bash
gtl env set-git work-bot --email [email protected]

Full Help

text
Set local git user.name/user.email and export matching GIT_AUTHOR_* and GIT_COMMITTER_* values from .envrc so child processes and agents use the same identity.

Usage:
  gtl env set-git <name> [flags]

Aliases:
  set-git, git

Examples:
gtl env set-git work-bot --email [email protected]

Flags:
      --email string   Git user.email to set locally and export from .envrc
  -h, --help           help for set-git

Released under the MIT License.