github - Why does "git push" on local branch result in merge with "develop" and push to "master" branch? -


the steps took: cloned repo github. checked out branch called "develop". created new branch called "hotfix". worked on local "hotfix" branch. tried push "hotfix" github. typed "git push".

the problem: "hotfix" branch never showed on github.

the result follows: on github, showed "hotfix" merged "develop" , pushed "master" branch.

has had similar issue? maybe there issue when cloned?

i have since pushed "hotfix" branch specifying "git push origin hotfix". wondering why "git push" merge local branch develop, , push master.

when pushing new branches, shoud use git push hostname branchname.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -