Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 740 Bytes

git-workflow-for-cleaner-commits.md

File metadata and controls

17 lines (12 loc) · 740 Bytes

A Git Workflow For Cleaner Commits

Annie Sexton describes a better git flow in her article on the render.com blog. The idea is that a better git flow would bundle commits to specific features. A seperation of concerns for your commits will allow you to revert changes without breaking other unrelated features.

The Better Git Flow

  1. Do work and make WIP commits; Don't worry about your commit messages
  2. When you are finished run git reset origin/main
  3. Organize your changes into clean and logical commits with meaningful commit messages
  4. Create Pull Request / Review PR / commit to main

References

Link to the original article by Annie Sexton.