When I add a repository to SourceTree, the key works. The problem is that when I check a file in it always wants to use my personal email address instead of my work email address in the Author field. Is there a way to have it use my work address for work projects and my personal email address for personal projects automatically? My work projects are through slsapp.com and my personal projects are through bitbucket.
I've turned off "Allow SourceTree to modify your global Mercurial and Git configuration files" though that was on before.
ssh-add -l shows both SSH account.
Below is a modified version of my .ssh/config:
Host slsapp.com
Hostname slsapp.com
IdentityFile ~/.ssh/mykey
User name@example.com