Sync vals to a git repo

CleanShot 2024-01-04 at 14.47.41@2x.png

This will not run on val town! You need to run it locally with deno.

There is currently no incremental syncing or recovering. You can only use this script against a fresh git repo. If you want to sync to an existing repo, you should create a new repo, run the script and then force push to your existing repo.

This will sync all your vals, including private ones so be careful where you push your git repo if you want those to remain private.

Migrated from folder: tools/git_sync