I've been wrestling with getting Sourcetree to work for the last day. I'm failing on the tutorial. First obstacle was finding the "SSH/HTTPS button". There's no such button. There is a "clone" button which shows a dialog where you can select HTTPS or SSH and click "Clone in Sourcetree". I assumed the latter button is what was expected. The tutorial didn't help me at all in figuring out how to setup an SSH key, fortunately I was eventually able to fix that.
Next obstacle was figuring out that the tutorial forced me to install Git. Maybe I should have figured that out faster, there were some hints. (I wanted to only use Mercurial since I find the idea of two separate version control systems on the same machine redundant. Beats me why the tutorial assumes git.)
The current obstacle occurred when I, having cloned the repository, checked out the code and made some changes; tried to commit. Git gave me an error message: "Please tell me who you are". After googling this error (which the tutorial didn't warn me about) it seems I should install Git separate from Sourcetree and do some configuration to it. The really weird thing is that I entered my name and email address in the Sourcetree options menu, general tab, Default user information. I checked the "Allow SourceTree to modify your global Git and Mercurial config files". So Sourcetree should tell Git whatever Git needs to know. Is this how the tutorial is supposed to work?
I'm using Windows Vista and SourceTree version 18.104.22.168. Thanks in advance for any help
Seth answer didn't work for me either, but this did! Thanks a lot!
By the way, I also had to add the e-mail manually in the config file:
email = email@example.com
Just below the "[user]" tag you mentioned. However, I'm guessing that after removing the extra "[user]" tags this wouldn't have been necessary if I had checked "Use global user settings".
Anyhow, thanks again!
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs