I have two branches: master and dev
I want to create a "feature branch" from the dev branch.
Currently on the branch dev, I do:
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 fast-forward merged, and I don't understand why...
What am I doing wrong?
How can 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.