An open API service indexing awesome lists of open source software.

https://github.com/matt-savvy/git-communication-example

Some examples to show why your commits matter and how building your branches well can make it easier to review.
https://github.com/matt-savvy/git-communication-example

git github

Last synced: about 2 months ago
JSON representation

Some examples to show why your commits matter and how building your branches well can make it easier to review.

Awesome Lists containing this project

README

          

# Why You Should Care About Your Commits (Even If You Squash Merge!)

[![YouTube](http://i.ytimg.com/vi/WsgkV0rSIUQ/hqdefault.jpg)](https://www.youtube.com/watch?v=WsgkV0rSIUQ)

[View on My Blog](https://blog.1-800-rad-dude.com/posts/2024/12-08-Why-You-Should-Care-About-Your-Commits.html)

Some examples to show why your commits matter and how building your branches well can make it easier to review.

## Example A
- [Version 1](https://github.com/matt-savvy/git-communication-example/pull/2)
The first file makes a change, but you have to read past several other files to see the definition of the new function call.

- [Version 2](https://github.com/matt-savvy/git-communication-example/pull/1)
You can step through the commits one at time to follow the changes easier.

## Example B
- [Version 1](https://github.com/matt-savvy/git-communication-example/pull/4)
The diff refactors AND changes code all at once.

- [Version 2](https://github.com/matt-savvy/git-communication-example/pull/3)
The refactor and the functional changes have been split up.