I learned to update my website in the obvious way
Forever, I have been updating my wiki (tinybrain.fans) by pushing all of the HTML files via a `tar` call to the server.
find . -name '*.*' -type f -maxdepth 1 -not -name '.*' -print0 | xargs -0 tar -cf - \
| ssh milofultz_milofultztest@ssh.nyc1.nearlyfreespeech.net 'tar -C /home/public/tinybrain.fans/ -xf -'
This worked, but used a ton of bandwidth and was a very ooga-booga caveman solution. I always knew it sucked, but it worked, so I left it. Today I got tired of it and decided to finally fix it. Of course it only took like five minutes.
Instead of pushing all the files, I just set up the git repo in the server and called a git pull via `ssh`.
ssh milofultz_milofultztest@ssh.nyc1.nearlyfreespeech.net 'cd tinybrain.fans; git pull origin HEAD'
Less bandwidth, much simpler. Why didn't I do this before?