Skip to content

Instantly share code, notes, and snippets.

View NemoAndrea's full-sized avatar

Nemo NemoAndrea

View GitHub Profile
@NemoAndrea
NemoAndrea / instructions.md
Last active May 15, 2024 20:21
google cloud storage as a git-annex special remote

Google Cloud Storage ☁ & git-annex

git-annex is a great way to manage large binary files without making your git sluggish due to the large files, and at the same time minimising the initial and total download size.

The large files are stored in 'special remotes', of which many kinds are supported. Many of these remotes, however, require some authentication or are rather involved to set up. The nicest workflow (for users, not contributors per se) is if files can be downloaded from a simple URL with no further plugins beyond git-annex itself. Google cloud storage (or amazon S3) is a good option for this.

Setup

This is complementary to the instructions at the git-annex page on the topic