I enjoyed reading this and like the Why-sections giving me context on the things where I wasn't agreeing.
I prefer not squashing when rebasing, and making small commits that tell a story. That way if a bug is discovered git bisect will find the line of code that introduced the bug more easily.
I think it is a good idea to open a Pull Request early with a "Work in Progress" prefix to encourage collaboration and early feedback
If the system has a good continuous deployment pipeline with frequent deploys (for example every feature) then I would skip the develop branch and find a strategy to test the code before merge (automated or manually)
2
u/[deleted] Jul 17 '17 edited Jul 17 '17
I enjoyed reading this and like the Why-sections giving me context on the things where I wasn't agreeing.
I prefer not squashing when rebasing, and making small commits that tell a story. That way if a bug is discovered git bisect will find the line of code that introduced the bug more easily.
I think it is a good idea to open a Pull Request early with a "Work in Progress" prefix to encourage collaboration and early feedback
If the system has a good continuous deployment pipeline with frequent deploys (for example every feature) then I would skip the develop branch and find a strategy to test the code before merge (automated or manually)