Skip to content

gtl identity

Set local git config (user.name, user.email) for the current repository only, without affecting global git config. Optionally configure SSH settings for different profiles.

Aliases

id

Usage

bash
gtl identity [command]

Subcommands

CommandDescription
gtl identity applyApply a saved identity profile
gtl identity listList saved identity profiles
gtl identity removeRemove a saved identity profile
gtl identity saveSave current identity as a profile
gtl identity setSet local git identity for current repository
gtl identity showShow current repository identity

Examples

bash
gtl identity set --email andrew@bakerstreet.tech --name 'Andrew M'
gtl identity apply bakerstreet
gtl identity list
gtl identity show

Full Help

text
Set local git config (user.name, user.email) for the current repository only, without affecting global git config. Optionally configure SSH settings for different profiles.

Usage:
  gtl identity [command]

Aliases:
  identity, id

Examples:
gtl identity set --email andrew@bakerstreet.tech --name 'Andrew M'
gtl identity apply bakerstreet
gtl identity list
gtl identity show

Available Commands:
  apply       Apply a saved identity profile
  list        List saved identity profiles
  remove      Remove a saved identity profile
  save        Save current identity as a profile
  set         Set local git identity for current repository
  show        Show current repository identity

Flags:
  -h, --help   help for identity

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

Released under the MIT License.