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
Answer 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:

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 Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

290 views 0 12
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