how to put existing project under source control


Can anyone give me a workflow for adding an existing project to SourceTree and connecting to a remote repo on Bitbucket?  I seem to have tried everything.

I am confused by the Clone/New dialog.  What I have is a local project already under local source control (courtesy of Visual Studio), but the clone dialog seems to assume that a clone operation is always going to be going the other way - i.e. cloning a remote repository onto the local machine.  If I try this, it says it cannot clone into my local folder because the folder is not empty (which does make sense).

I dearly want to start using Git because it seems to be outstanding, but I'm really struggling to find any workflows that work with Visual Studio.  Any help at all would be very much appreciated.

Kind wishes ~ Patrick


1 answer

1 accepted

1 vote
Accepted answer

To start with, use the "Add Working Copy" tab in the Clone/New dialog.


This question might have helpful information about getting the repo to bitbucket:

It sounds like that user has put their bitbucket credentials into SourceTree for extended integration, which I've not used.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

656 views 5 9
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