I'm sorry if this is a dumb question, I have never used any type of version control before. I signed up for bitbucket, went through their tutorial with source tree to modify the file and push it back to the repository and had no issues
After creating a repository for some java code on bit bucket (repository is empty at this point), I went to source tree, located the directory where everything was stored, added it to the repository, added a gitignore file and did everything else I was told to do in a brief tutorial I found(including linking sourcetree to this repository).
In the tutorial, and everywhere else, it says I need to click "git flow" to push these files to bitbucket. However when I try, I get an error saying that "The production branch you chose, "master", does not exist." And then it tells me it can't create this branch.
After looking at my repository I see that there is no "master" under the branches, however, in my bookmarks, it says that I am working under the "master" branch. Also, when I tried to create a "master" branch, it won't let me. Does anyone know how to get around this or solve this issue?
We really need a way to automatically create a master branch using the Bitbucket web page. As it is, it is impossible to create a new repo and integrate it with SAP Web IDE as it expects/needs a branch to do the first commit.
I can't write up instructions for my team to install git and use the command line just to do this one step.
Try this if none else works and lets say that you'r using VS code.
Once you've created your repository on bitbucket, clone it to your local workstation and open VS code and set it to the local folder of your rep.
Open the terminal and run
git push -u origin master
Your terminal should write:
* [new branch] master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.
This should be it.
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events