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
Post a Comment