I am struggling to understand how Git flow works with Github.
Github allows the fork/pull request model of integrating changes, where the entire upstream repo and all its branches are copied into the fork.
Then using git flow, I would branch off of a dev branch say and then when finished my changes would be merged into the dev branch of my fork not the upstream. So when a pull request is made back the upstream repo, it merges dev(fork) to dev(upstream) but this loses all knowledge of my feature branch etc ever existed.
So for Git flow to work properly, would I need to stop forking the repo and create feature branches directly in the upstream repo?
So fork/pull should be kept separate from git flow?