I'm a first time user of SourceTree and am trying to check in an existing project into BitBucket. Sorry, this is probably simple but I can't figure it out. I am working from a Windows computer and have a set of source code in a directory on the computer. How do I check it in? I tried drag and drop into the bookmarks section in the left pane of the SourceTree client, but no-go.
Or if there is any documenation anywhere, can you point me to it?
If your existing code is already a Git or Mercurial repo, you can add it to SourceTree using the "Add Working Copy" tab in the Clone/New dialog. Otherwise, add it to SourceTree in the "Create New Repository tab. You may have to commit the code to the new repo.
In Bitbucket, create a new repository. Add this new repo to your SourceTree repository as a remote. Push your branch to the Bitbucket remote.
Yeah, I thought I responded, but it disappeared.
SourceTree is not just a desktop interface for Bitbucket. According to the design of Git (and Mercurial), you are actually working with two distinct repositories. One of those repositories resides on your local machine, optionally managed by SourceTree. The other resides on Atlassian servers, managed by Bitbucket.
You can (and should) link these repositories to each other by configuring your local repository to view the Bitbucket one as a "remote".
Once Bitbucket is a remote, it is important to know the differences between your operations. Some, like "Commit" and "Checkout", usually operate only on your local repository. Others, like "Push" and "Pull", are used to syncronize the local and remote repos.
To add a remote, go to the Repository menu and choose "Repository Settings..."
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG