DigiNews

Tech Watch Articles

← Back to articles

Git in Postgres

Quality: 9/10 Relevance: 9/10

Summary

This article explores storing Git data inside PostgreSQL using a two-table storage model (objects and refs) and a libgit2-based backend. It introduces gitgres, discusses Forgejo integration, and highlights Postgres primitives (triggers, NOTIFY, row-level security, logical replication) as a path to federated, easier-to-operate Git hosting. It also weighs storage tradeoffs versus traditional packfiles and outlines future directions for delta-repacking and S3 offloading.

🚀 Service construit par Johan Denoyer