Johnny•Decimal

┌
─ 22.00.0178 Lazy shortcuts… ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┐
┌
─ 22.00.0178 Lazy shortcuts lead to mistakes ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┐
└
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┘

Lazy shortcuts lead to mistakes

I just un-published post 22.00.0177 as it shouldn't have appeared. It's not finished and was published by mistake. Here's how.

Without getting too technical, I add things to this site using the ubiquitous software git. Normally this is a conscious action, and it takes two steps.

First:

git add 22.00.0177

– to say please add this file to the list of things I'd like to commit.1

And then:

git commit [some message to say what you did]

– to commit those changes to the site.

Well, why do in two steps what can be done in one? Long ago I created an alias -- a shortcut -- that merges these two steps. So now I just:

git addcommit [some message to say what I did]

The problem is that this git addcommit alias adds every new file to the commit. Which is very often what you want: but clearly not always. In this case, it added this unfinished post.

There's a reason this isn't a built-in command. It's a bad idea. I was being lazy.

I've deleted the shortcut. The post will be finished and re-published tomorrow. Apologies for the error.


100% human. 0% AI. Always.

Footnotes

  1. These git commands are what we call pseudocode. They're not the exact commands, but they vaguely resemble them. The idea is to give the layperson an idea of what's going on while not getting caught up in the details. ↩

┌
─ ◁/▶ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┐
•
Standard zero 'AC.00 JDex for …' – what's it for? ▶
└
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┘
┌
─ Post ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┐
ID     :
22.00.0178
Link   :
jdcm.al/22.00.0178
Date   :
Mon Dec 15 2025 (UTC)
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
↖Johnny.Decimal documentation
↑Blog post index
 
→Forum link for this post
 
↓RSS feed
└
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┘
Johnny 🧡 Decimal
 / 
A system to organise your life
 / 
© 2025