0

When I enter a folder on my server, and type git branch command, I see the following result:

*develop
something_else
master

But when I enter my repository on bitbucket, I see that branch develop is not there. There's dev branch instead. Same thing in sourcetree.

What's wrong?

Avi Ginsburg
  • 10,323
  • 3
  • 29
  • 56
khernik
  • 2,059
  • 2
  • 26
  • 51
  • 1
    Have you ever pushed your develop branch to the origin? Have you pulled the dev branch from the origin? – Mark Baker Jul 23 '15 at 09:33
  • Reading the following link will probably be a little hard for you, but it will make your life easier: https://git-scm.com/book/en/v2/Getting-Started-Git-Basics – Marco Jul 23 '15 at 10:14

2 Answers2

8

You need to push to the remote:

git push -u origin <your branch name>

should do it.

More info here

Community
  • 1
  • 1
Michiel Ariens
  • 288
  • 4
  • 12
0

Maybe branch develop is created by you in your local repo.

It is not yet pushed into your origin.

mahinlma
  • 1,208
  • 3
  • 11
  • 24