I'm very new to SourceTree and Git/Hg, and I'm stuck at the very beggining of everything.
I wanted to track the versions of a website under construction.
So I added the folder containing codes to SourceTree Bookmarks.
Although I wanted to use Git, I accidentally chose Mercurial instead.
After that, I tried to change it to Git, but I couldn't; I deleted the bookmark and repeated the addition and this time it was automatically set to Hg.
Is it difficult to set it back to Git? If it's doable even for a beginner, could somebody tell me how?
You'll want to re-remove the repository from sourcetree. Navigate to the location in Explorer/Finder, and delete the .hg folder (may be hidden). Now you should be able to add the project to sourcetree with the option of which type of repository to use.
Keep in mind that you should not delete this directory on anything but a new repository because you will lose your entire history and all previous versions.
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot