Using JungleDisk for Remote Git Repositories

2009.07.08

I'm a big fan of Amazon S3, and one of the easiest ways to interact with it for personal use is JungleDisk. JungleDisk uses WebDAV to connect to your S3 buckets, allowing you to browse and interact with them locally as you would any other filesystem.

One use for JungleDisk that I find to be really handy is hosting remote Git repositories I can push content to for backup purposes. It's really simple and helps preserve any random repository where using something like GitHub would be overkill.

First, I have a little helper script, makeGitRepo:

Pop that on to my $PATH and I can easily create a remote repository on my JungleDisk:

Then all I need to do is add it as a remote within my Git repository and push:

Easy enough.