How changing my commit messages made me more productive

Confession. I sucked at writing commit messages. Messages like Fix, Style Things and Fix Again #yolo where common place. This did not really matter much as I was working by myself at the time, but I knew I had to start building a habit of writing better commit messages. But every time I started looking on the interwebs I found suggestions to write a heading, a proper body and some foot notes. I understand where this is useful, but working
- How changing my commit messages made me more productive

Read more

Git Good

Git has clearly won the source control wars. Its lightweight branching and easy merging make for a frictionless experience. But there are things that you as developer can do with git and with your code to make it even better. Small Files Having files and functions that contain as few lines of code as possible is more a Clean Code principle than a Be Good At Source Control principle, however it effects your source control directly. The Single Responsibility Principle
- Git Good

Read more

Git Goodies That You Might Not Know About: git stash

We sometimes find ourselves with code that does not belong in a commit. This might be because we are on a wrong branch, just trying new things or need to quickly do something else and are not prepared to commit the code yet. Bottom line is we sit with code that we want to persist somehow but that we do not want in our source control history. Enter git stash. Git stash will save your local modifications away and revert
- Git Goodies That You Might Not Know About: git stash

Read more

Git Goodies That You Might Not Know About: git bisect

I recently found myself with an obscure bug that was introduced into the codebase somewhere in the last 50 commits. To make matters worse the bug was not apparent and was not easily seen when looking at the code. All I knew was when last that feature worked. I ended going through each commit until I found the breaking commit. If only I knew about git bisect. Git bisect is a debugging tool built into git. It helps you perform
- Git Goodies That You Might Not Know About: git bisect

Read more