I'm using git for a long time now. But I've never used it in a collaborative way. I'm currently setting up a new project and planning a lot of things, among others: how to git?
Okay so I've started reading a bit and it was a simple decision to say: Fine, we'll use a feature branch workflow. That's awesome.
Next question: Merge or PR? Merge! Fine.
Last question: FF or non-FF?
Does it even make sense to merge FF in a feature branch workflow? It just feels like the whole feature branch story is waste when merging FF.
Are there any drawbacks using non-FF that I've not considered?
When reading a "flat" (like git log --oneline
) git log I think it's not a big deal having those merge commits. But when using some more fancy git log --format ...
it can be totally helpful when a log looks like this. At least in my opinion.
* e3f667e (HEAD, origin/master, master) Merge branch 'issue#1702'
|\
| * ec359fe (origin/issue#1702, issue#1702) 1702: two
| * 45a63b3 1702: two
* | 97bbec7 Merge branch 'issue#1701'
|\ \
| |/
|/|
| * f959cc9 (origin/issue#1701, issue#1701) 1701: two
| * 9217d3c 1701: one
|/
* 6c934ea Merge branch 'issue#1606'
|\
| * 365eac5 (origin/issue#1606, issue#1606) 1606: two
| * 95df1c9 1606: two
| * ad79b01 1606: one
|/
* 02dbcea Merge pull request #1 from babbelnedd/issue#1605
|\
| * d24d200 (origin/issue#1605, issue#1605) 1605: two
| * 7ef0a8e 1605: two
| * 5aac64d 1605: one
|/
* 585d8b9 Initial commit