I have two branches: master and dev
(我有两个分支: master和dev)
I want to create a "feature branch" from the dev branch.
(我想从dev分支创建一个“功能分支”。)
Currently on the branch dev, I do:
(目前在分支机构dev上,我执行以下操作:)
$ git checkout -b myfeature dev
... (some work)
(... (一些工作))
$ git commit -am "blablabla"
$ git push origin myfeature
But, after visualizing my branches, I got:
(但是,在可视化我的分支之后,我得到了:)
--**master**
------0-----0-----0-----0-----0
------------------------**dev**----**myfeature**
I mean that the branch seems ff merged, and I don't understand why...
(我的意思是分支似乎在ff合并,我不明白为什么...)
What I'm doing wrong?
(我做错了什么?)
Can you explain me please how you branch off from another branch and push back to the remote repository for the feature branch?
(您能否解释一下我如何从另一个分支分支并推回功能分支的远程存储库?)
All that in a branching model like the one described here .
ask by revohsalf translate from so