-
Bug
-
Resolution: Fixed
-
Low
-
None
-
1
-
Severity 3 - Minor
-
13
-
Issue Summary
When creating a new repository and adding a value to the field "Default branch name", the repository will still show the text on the next page:
git remote add origin git@bitbucket.org:workspacename/repositoryname.git git push -u origin master
Steps to Reproduce
- Create a new repository and add a value to the field "Default branch name"
- Don't include a README nor .gitignore file
- Click on Create repository
- Bitbucket will redirect you to the Source page on this repository
- Under "Get your local Git repository on Bitbucket", it will show you the following instructions:
Step 1: Switch to your repository's directory
cd /path/to/your/repo
Step 2: Connect your existing repository to Bitbucket
git remote add origin git@bitbucket.org:carolineroos/hello.git git push -u origin master
Expected Results
Update the branch name to the one the user has created
Actual Results
The command still shows the word 'master'
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available