# How to Change User in Sourcetree

> To switch users in Sourcetree, open your repository, select Repository Settings from the Repository menu, and navigate to the Advanced tab. Next, enter your new username and email address in the provided fields, then click OK to save your changes for that specific repository.

Canonical: https://livedemo.ai/tutorials/how-to-change-user-in-sourcetree/
Apps: Sourcetree
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a328cab56e05a00fd62f4/preview?step=1

## Steps

1. First, open your repository in Sourcetree, then click on the 'Repository' menu and select 'Repository Settings'.
2. Within the 'Repository Settings' dialog, navigate to the 'Advanced' tab where user info is stored.
3. Enter your new username and email address in the respective fields.
4. Click 'OK' to save your changes. Remember, this only changes the user for this specific repository.
