From 2e2f0b0f64ca3f90fb04772a64c4d1f0ea5b5971 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Tue, 14 May 2024 13:27:12 +0100 Subject: [PATCH] Text tweaks. --- content/posts/git-download-subpath/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/posts/git-download-subpath/index.md b/content/posts/git-download-subpath/index.md index ffd1e125..3d44fcf1 100644 --- a/content/posts/git-download-subpath/index.md +++ b/content/posts/git-download-subpath/index.md @@ -11,9 +11,9 @@ syndications: - https://gist.github.com/jphastings/6560bb173399fc3a155913b33e5f0f0c --- -My blog has ~250MB of [photos](/photos) in it (as I [archived my Instagram here](/posts/archiving-instagram-posts/) — _a decade_ of photos) which means that every time I want some files from [my blog's repo](https://github.com/by-jp/www.byjp.me) I've needed to pull down all that data to get at the files I want. +My blog has ~250MB of [photos](/photos) in it (as I [archived my Instagram here](/posts/archiving-instagram-posts/) — _a decade_ of photos) which means that every time I want some files from [my blog's repo](https://github.com/by-jp/www.byjp.me) I've needed to pull down all that data to get at the few files I want. -This isn't a problem on my laptop where I work on my blog (as it's already cloned), but I also keep my [IndieKit](https://getindiekit.com) config in there, and I don't want to have to clone an increasingly large repo every time. +This isn't a problem on my laptop where I work on my blog (as it's already cloned), but I also keep my [IndieKit](https://getindiekit.com) config in there, which I need to copy to the server it runs from. I don't want to have to download hundreds of MB (and growing!) of photo data every time I want to update it. So I built `git-download-subpath`, which is a bash script around [git's partial clone](https://git-scm.com/docs/partial-clone) functionality.