Git-friendly refactorings

less than 1 minute read

  • When using a SCV system, we always try to keep changes atomic. I.e., to fix a bug or add a feature, we try to use exactly one commit (atomic commit) that can always be applied (on other branches) or reverted without any side effects.
  • Refactorings should be atomic as well.
    • Do not rename types or methods on a dedicated branch.

Categories: ,

Updated:

Leave a Comment