-- Leo's gemini proxy

-- Connecting to gemini.locrian.zone:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-US

Augh, git


So I thought to myself, I thought, “hey what if instead of using a bunch of hacked-together scripts to update my gemini capsules and website, what if I used git repositories?”


Well, *that* turned out to be a headache. But in the end it worked, and now all I have to do is commit and push when I want to update something. The only tricky bit was this bit I had to add to each repository’s hooks/post-receive:


#!/bin/bash

GIT_WORK_TREE=/path/to/content git checkout -f

That should be the only thing I need to remind Future November of... right? Right???


Tags:

tech

-- Response ended

-- Page fetched on Sat May 11 08:57:14 2024