FTB
Private Git Repos

For this site I wanted a way to make it super easy to add new entries and they just work.

I needed a place to store the data that I owned. So I just created a directory on a server I owned.

git init --bare $PWD/repos/site.git

From There I need to setup my local directory to point to that new repo.

git checkout ssh://<server>/home/user/repos/site.git

This creates a blank repo directory that is not easily connected to the remote location.

With this in place all I have to do is setup a simple cron to pull the repo every N minutes.

Which works like a charm!