Typically my workflow goes like this:
- git flow feature start NewWidget
- .. commits ..
- git flow feature finish -r -S
- git push origin
This allows for:
- Multiple commits to be squashed into a single commit before merging the feature into develop.
- Keep history linear
- Rebase before merging
I would like to leverage pull requests in this model, however there are a few problems. Source tree doesnt appear to be able to resolve these either.
- If a pull request is merged one cant feature finish
- Manually have to squash commits before pull request
- Rebase on merge
Does anyone use git-flow with pull requests using Stash? If so, how does your workflow work?