💾 Archived View for gemini.locrian.zone › gemlog › augh-git.gmi captured on 2024-03-21 at 15:22:03. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-11-04)
-=-=-=-=-=-=-
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???