Skip to content

gtl identity set

Parent command: gtl identity.

Configure user.email and optionally user.name locally for just this repository.

Usage

bash
gtl identity set [flags]

Examples

bash
gtl identity set --email andrew@bakerstreet.tech
gtl identity set --email andrew@bakerstreet.tech --name 'Andrew M'
gtl identity set --email dev@work.com --ssh-host github-work --ssh-key ~/.ssh/id_rsa_work

Full Help

text
Configure user.email and optionally user.name locally for just this repository.

Usage:
  gtl identity set [flags]

Examples:
gtl identity set --email andrew@bakerstreet.tech
gtl identity set --email andrew@bakerstreet.tech --name 'Andrew M'
gtl identity set --email dev@work.com --ssh-host github-work --ssh-key ~/.ssh/id_rsa_work

Flags:
      --email string      Email address for this repository (required)
  -h, --help              help for set
      --name string       Name for this repository (optional)
      --ssh-host string   SSH host alias (e.g., github-bakerstreet)
      --ssh-key string    Path to SSH private key

Released under the MIT License.