Bitbucket: adding a local project to bitbucket using Mac OSX

I recently added a project as a git project (im new for git and training), and I looked at using Bitbucket through the source tree on Mac, but how to add a locally created project to Bitbucket, since I use the Source Tree, but it doesn't seem to clicks on my online account, I must first create a repository on the network, then clone it, then work on it, or I need to configure it a bit more so that it can communicate with Bitbucket

+7
git bitbucket atlassian-sourcetree
source share
2 answers

Thanks, someone watched, I managed to break through several videos and found this: http://www.youtube.com/watch?v=Hs_Z99nOKM8

+3
source share

You need to add the BitBucket repository as a remote channel for your local repository.

After creating the repo on BitBucket (or Github or elsewhere ...) copy the URL of the remote repository. It should look something like this: git@bitbucket.org :your_username/your_repo_name.git

Then add the repo as remote from the command line:

 git remote add origin git@bitbucket.org :your_username/your_repo_name.git 

I'm not sure how you will do this in SourceTree, but if you search the application’s help menu to add a remote, I assume that it should have instructions.

+9
source share

All Articles