A useful template for commit messages

Here’s a useful heuristic for writing better commit messages. Set your commit message template to: # If applied, this commit will… # Explain why this change is being made # Provide links to any relevant tickets, articles or other resources and you’ll be guided into […]

Read more

Git: Squash your latests commits into one

With git it’s possible to squash previous commits into one. This is a great way to group certain changes together before sharing them with others. ~ Here’s how to squash some commits into one. Let’s say this is your current git log. * df71a27 – […]

Read more