Pull request: Difference between revisions

From YM2149.org
Jump to navigationJump to search
No edit summary
Line 10: Line 10:


* although in practice refactoring is done as needed, any such commits should go first
* although in practice refactoring is done as needed, any such commits should go first
* [[Leytonium]] has tools to semi-automate rearrangement of commits


[[Category:Programming]]
[[Category:Programming]]

Revision as of 21:01, 17 February 2025

Also see pull requests versus pair programming.

Commit goals

  • make life easier for the reviewer
  • separate refactoring from actual changes
  • make it easier to undo functionality in the future by reverting a commit
  • small enough number of commits to avoid heavy handed merge-time squashing

Commit arrangement

  • although in practice refactoring is done as needed, any such commits should go first
  • Leytonium has tools to semi-automate rearrangement of commits