Skip to content

Dan Q

    • Articles
    • Everything
    • Notes
    • Reposts (shares)
    • Checkins (geo*)
    • Videos
    • Reviews
    • Comics
    • Tags
    • Stats
    • Subscribe
    • Blogroll
  • About
    • Hide posts of type:
    • Choose how Dan's dressed:
    • Hair
    • T-Shirt
  • Contact
  • Podcast

Tag: git

  • Caddy webserver logs, with a highlighted section showing a DNS-01 challenge for *.static.duckling.danq.me repeatedly fail and then eventually succeed, then a certificate chain being installed.

    Dynamically-Deployed Static Site Subdomains on Caddy

    Continuing my effort to find a way to serve my various static sites that meets my need for ease-of-use and low-maintenance, I configured a wildcard Caddy server with webhook-based monitoring of a GitHub repository. Here's how it works...

    Read more - about 5 minutes (1067 words)

    • Article
    • posted 8 May, 2026
  • Image representing post: Moving a static site from GitHub to Codeberg Pages

    Moving a static site from GitHub to Codeberg Pages

    I was recently reminded that I wanted to try out Codeberg Pages, so I migrated a static site over from GitHub Pages. It mostly worked, and a learned a little along the way about how Codeberg Pages works.

    Read more (277 words)

    • Article
    • 3 comments
    • posted 4 May, 2026
  • Copilot review of some code on GitHub, in which it's telling me that I should have included an .agent-logs/... file in which my AI agent describes how it helped, but I'm responding to say that 'shockingly' I wrote it without the help of AI, and telling Copilot to shut up.

    Subverting AI Agent Logging with a Git Post-Commit Hook

    I keep hearing from developer friends who are 'expected' by their employer to demonstrate that they're using AI, even for tasks at which the AI is demonstrably a suboptimal choice. So - as a joke - I came up with a git post-commit hook that makes it look like they're doing so, even when they're not.

    Read more - about 4 minutes (761 words)

    • Article
    • 1 comment
    • posted 3 March, 2026
  • Note to future self: when you want git to tell you all the files you've modified, but not those you've deleted (e.g. to pipe through xargs and feed to your linter for bulk-linting), the command you're looking for is -

    git diff --name-only --diff-filter=M

    • Note
    • posted 14 June, 2025
  • Last year, a colleague introduced me to lazygit, a TUI git client with a wealth of value-added features.

    Somehow, though, my favourite feature is the animation you see if you nuke the working tree. ๐Ÿ˜˜ Excellent.

    Animation showing lazygit, a command-line git client. The working tree has one changed file, config/routes.rb. With a couple of keypresses, the working tree is nuked, with a colourful ASCII-art animation illustrating the destruction of the changed file (actually, it being reset to the previous version).

    • Note
    • posted 21 January, 2025
  • My first task this International Volunteer Day is to test a pull request that aims to fix a bug with Three Rings' mail merge fields functionality. As it's planned to be a hotfix (direct into production) we require extra rigor and more reviewers than code that just goes into the main branch for later testing on our beta environment.

    My concern is that fixing this bug might lead to a regression not described by our automated tests, so I'm rolling back to a version from a couple of months ago to compare the behaviour of the affected tool then and now. Sometimes you just need some hands-on testing!

    Full image of Screenshot showing web application Three Rings viewed on a local development machine, being used to compose an email about International Volunteer Day. A merge field called 'first_name' is included in the email, and it's hand-annotated with the question 'working?'. Alongside, GitHub Desktop shows that we've rolled-back to a revision from two months ago.
    Alt

    Screenshot showing web application Three Rings viewed on a local development machine, being used to compose an email about International Volunteer Day. A merge field called 'first_name' is included in the email, and it's hand-annotated with the question 'working?'. Alongside, GitHub Desktop shows that we've rolled-back to a revision from two months ago.

    • Note
    • posted 5 December, 2024
  • Standing up for developers: youtube-dl is back

    As they bring back the youtube-dl repository, GitHub announce a new set of standards by which they'll assess DMCA claims. Dan approves, and explains why.

    Read more (433 words)

    • Repost
    • 1 comment
    • posted 17 November, 2020
  • Image representing post: Reinventing Git interface

    Reinventing Git interface

    Nikita Prokopov proposes a series of changes to Git that would "fix" its warts without breaking backwards compatibility, and they're brilliant.

    Read more (181 words)

    • Repost
    • posted 20 January, 2020
  • Image representing post: git poem

    git poem

    Altgit poem

    Read more - about 0 minutes (0 words)

    • Repost
    • 1 comment
    • posted 30 September, 2017
  • git git git git git

    Ever found you've accidentally entered too many gits in your terminal and wondered if there's a solution to it? I quite often type git then go away and come back, then type a full git status after it. This leads to a lovely (annoying) error out the box:

    $ git git status
    git: 'git' is โ€ฆ

    Read more (265 words)

    • Repost
    • 1 comment
    • posted 30 September, 2017

Get in Touch

I'd love to hear from you! Why not...

  • email me on blog@danq.me?
    (my spam filter is aggressive, so use a good subject line, i.e. not just "hello"; encrypt your email if you like)
  • say hi on Mastodon, where I'm @dan@danq.me?
  • send a letter or postcard to
    Dan Q, Unit 159610, PO Box 7169, Poole, BH15 9EL, UK
  • reach out some other way?
  • ยฉ Dan Q 1998-2026
  • Creative CommonsAttributionNon-Commercial except where stated (how to use)
  • powered by BloqClassicPressHTML5CSS3
  • privacy
  • Read articles, checkins, notes, reposts, and more...
  • @dan@danq.me
  • contact
  • subscribe
  • Dan Q
  • Creative Commons Attribution Non-Commercial license
  • ClassicPress
  • CSS is awesome
  • Created by a human, not by AI
  • LGBTQ+ pride flag (2018 progress variant)
  • Polyamory flag
  • Say no to Web3
  • Mastodon (it's like email... no, come back!)
  • Tested on Firefox
  • Best viewed on the Internet
  • PHP
  • Ruby
  • Debian
  • Caddy (webserver)
  • Find me on Melonland
  • Check out my GitHub
  • Three Rings - by volunteers, for volunteers, since 2002
  • I'm a fucking webmaster
  • Looks best at: any resolution!