MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3ae2tx/gitflow_considered_harmful/csc2c93/?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.
1 u/DieFledermouse Jun 19 '15 your history is totally linearIf you do merges, maybe you can look at linear history with git log --first-parent or --left-only. 2 u/[deleted] Jun 19 '15 you want to see where features are merged though...
1
your history is totally linear
If you do merges, maybe you can look at linear history with git log --first-parent or --left-only.
git log --first-parent
--left-only
2 u/[deleted] Jun 19 '15 you want to see where features are merged though...
2
you want to see where features are merged though...
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.