Git Deploy

Deploying with nothing but git and a hook

Author 2019 Blog Post
Git Deploy Dashboard

The Challenge

Plenty of small projects don't need a deployment platform — they need code on a server, reliably, with a way back when something breaks.

The Solution

A written walkthrough of bare-repository git deployment: push to a remote, a post-receive hook checks out the new version, and rollback is just another git operation.

What I Built

Step-by-Step Setup

Bare repo, post-receive hook, environment segmentation — the whole recipe.

No Added Infrastructure

Uses tools already on every server: git, bash, and ssh.

Outcome

  • A deployment strategy I still reach for on small projects

Built With

Git Bash SSH