how to put existing project under source control

Hi,

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

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: https://answers.atlassian.com/questions/23763631

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

706 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot