From bc6c9cf29841ca300b3be4be377c05bc2fc05f49 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 12 Aug 2024 00:54:30 +0100 Subject: [PATCH] Add daily email for 2024-08-11 Commits are Cheap --- source/_daily_emails/2024-08-11.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 source/_daily_emails/2024-08-11.md diff --git a/source/_daily_emails/2024-08-11.md b/source/_daily_emails/2024-08-11.md new file mode 100644 index 00000000..06df271a --- /dev/null +++ b/source/_daily_emails/2024-08-11.md @@ -0,0 +1,23 @@ +--- +title: Commits are cheap +date: 2024-08-11 +permalink: daily/2024/08/11/commits-are-cheap +tags: + - software-development + - git +cta: ~ +snippet: | + Commits are cheap. Debugging without a commit isn't. +--- + +When using a version control system, such as Git, commits are quick and cheap. + +I like to make small commits as often as possible whilst working on a task. + +For example, when doing test-driven development, I commit my changes wherever the tests are passing or after a refactor. + +Each commit is a checkpoint I can easily roll back to if needed. + +I've never regretted making a commit, but I've regretted not making one. + +Commits are cheap, but debugging without a recent commit is expensive.