I've been playing with gitflow quite a bit for a few days, and first, I'd
like to say that I find it very good.
Now, I have question, when merging branches, it does the merge with
--no-ff, which generates an empty merge commit.
Now, I don't see any good reason for it to be so, I mean, gratuitous empty
commits in my history hurt my eyes :-)
So, for my questions, what exactly is the point of doing such an empty
commit ? And would it be possible not to do so ?
Regards,
--
Mathieu Arnold
Ok, it does, thank you.
But, as I was more likely to do rebase than merge so that I did not have
extra commits, do you think it would be possible to have the possibility to
have a mode in git-flow where the merge --no-ff were replaced with a rebase
You could use feature rebase for that purpose:
$ git flow feature rebase
That rebases the current feature branch onto develop.
Cheers,
Vincent
And not only for feature but also release or hotfix or... :-)
--
Mathieu Arnold
The point of gitflow is to make sure the merge history is preserved.
Specifically, if you must revert the changes, you won't need to track
down individual commits.
I love rebasing and squashing feature branches to make them easier to
understand, but I try to avoid --ff merges to develop/master branches.
Cheers!
Alex