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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,155 views 26 11
Join discussion

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