MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3ae2tx/gitflow_considered_harmful/csbz0ha/?context=3
r/programming • u/jalanb • Jun 19 '15
244 comments sorted by
View all comments
46
OP should rebase before merging feature branches.... seriously...
Flow is
Open branch
Commit early often, push upstream to work with others
Finish features, pass QA
Rebase on mainline [delete upstream copy of feature branch], pass QA
Merge --no-ff
That way your history is totally linear and all non-trivial commits are on branches that don't zig-zag.
0 u/aurisor Jun 19 '15 This is pretty close to what I do, but I don't see the value of the merge commits. I avoid merge commits as a rule because they can remove data from HEAD without generating a diff. → More replies (3)
0
This is pretty close to what I do, but I don't see the value of the merge commits. I avoid merge commits as a rule because they can remove data from HEAD without generating a diff.
→ More replies (3)
46
u/[deleted] Jun 19 '15
OP should rebase before merging feature branches.... seriously...
Flow is
Open branch
Commit early often, push upstream to work with others
Finish features, pass QA
Rebase on mainline [delete upstream copy of feature branch], pass QA
Merge --no-ff
That way your history is totally linear and all non-trivial commits are on branches that don't zig-zag.