Full Discussion (Plan Your Commits)

As an experienced engineer, I struggle with the commit cadence and find it is a personal development style - others might commit more or less frequently than I do.

As mentioned, break up your features or tasks into branches. Commit often on your local/remote branch at crucial save points or to mark work in progress with commit messages that at are short but to the point.

When you are ready for a pull request and to merge to master, git rebase is your friend. This command allows you to squash your mini commits into a one nicely worded and descriptive commit about the changes you have made.

A fellow engineer at Spreedly has a great blog post on commit messages

code of conduct - report abuse