Hi Team,
I have created a new repository. It has no master branch. when I go to create a new branch It says to select from which branch. I want to create master branch from bitbucket. How can I do it. I have also referred https://community.atlassian.com/t5/Bitbucket-questions/No-master-branch-when-creating-a-repository/qaq-p/35702. but no use.
I just ran across this silly issue. The fix was as simple as creating a readme by clicking the button in the bitbucket web interface, as Saurabh Patil notes above.
Welcome to the community!
To create a repository first you to install Git on your system.
If the Git has been available/installed, then Create a Directory in which you want to create a repository.
Run the below command.
> git init: it will initialize the empty repository with .get dir with default master branch.
> git config --global user.name and user.email: configure your username and email
> git clone <reposity_URL> :clone your repository to local system.
While creating a branch from jira, then select the master branch from which you can create new branch like feature, bug fix, hotfix..etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Yogesh MudeThanks dude for your solution, I am using git through eclipse, so is there any way to do it from eclipse or I have to do it from command line?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First, create it through command/terminal then you can pull/checkout the branch in eclipse.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok,could you please tell me the error which you are getting and the Steps to reproduce the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Yogesh Mude I got the solution. create a readme in bitbucket after creating new repo and commit it. After first commit master branch is created. Happy coding :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good to hear you that you got the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.