
Writing objects: 100% (3/3), 239 bytes | 239.00 KiB/s, done.īranch 'main' set up to track remote branch 'main' from 'origin'. ~/newrepo/ git remote add origin /username/repo.git This will create your initial push and get your files into the BitBucket repository.git remote add origin /PROJECT/REPO.git.In Step 2 via Bitbucket you will perform your first push to the origin of your main branch:.Use the commands as directed from your local machine:.You’ll see commands to use locally to navigate to your project folder and run the Git remote command listed on the page.Select the Source page for your new repository.Open your Bitbucket dashboard to your new repository.
#How to set up bitbucket code#
This will allow you to deploy code from your local machine to Bitbucket. Now that you’ve created your repository you will need to add Bitbucket as a remote.

Once you’ve created your Bitbucket account, it’s time to create your repository.Depending on how often you deploy, and the time it takes to build, you may need to consider a paid plan with Bitbucket However, you are limited in the number of allowed “Build” minutes per month when deploying through your Pipelines.
#How to set up bitbucket free#
