Can I use Source Tree (Mac) for another system?

Hi, 

I have Mac OS with the newest version of Source Tree and Windows 10, virtualized through Parallels. Can I use Source Tree for Mac to add repository from Win? 

I tried it but you can see the result at the picture below.

Thank you for any advice!

image.png

3 answers

0 votes

Hi Michal, can you make sure that .git is present in that directory? If it's not, you can initialize it as a repository by typing git init into your command line. 

Let us know if that was your case!

Regards,

Ana

0 votes

SourceTree picks up your Terminal's environment (in 2.5+) when running commands - if set the specified variable in your shell's profile it should "just work" if there aren't any other problems for git when translating the paths.

Brian Ganninger
Senior Mac Developer, SourceTree

Unfortunately, It still doesn't work. It seems like after git init command, I can browse the folder in SourceTree but I can't make a commit.

Here's the error:

image.png

Thank you both for help!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

847 views 3 2
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you