Switching profiles
Activating a profile makes it your current Git identity. GitPersona applies the whole identity at once, so your name, email, SSH key, and HTTPS credential all move together.
Activating a profile
Select a profile and apply it. GitPersona writes that profile's identity to your global Git configuration and updates the managed SSH and credential settings to match. The active profile is shown in the app so you always know who you are committing as.
What changes on activation
- Git author —
user.nameanduser.emailare set to the profile's identity. - Signing key — set when the profile defines one (see GPG signing).
- SSH — the managed block in
~/.ssh/configreflects the profile's assigned key, so Git connects with the right identity (see SSH keys). - HTTPS credential— the profile's credential becomes the one Git uses for supported hosts (see Credentials).
Per-repository assignment
Beyond the globally active profile, you can bind a specific repository to a profile. When you assign a profile to a repository, GitPersona pins that identity into the repository's local Git config right away — the correct author and account are in place before your next commit or push, regardless of which profile is globally active.
The manual equivalent
GitPersona performs the identity change for you. For reference, activating a profile globally is equivalent to the following Git commands:
git config --global user.name "Ada Lovelace"
git config --global user.email "ada@work.example"