BUILD WITH MEGA2
Documentation
From your first repository to a production monorepo. Practical guides for developers, operators, and AI agents.
Introduction
Meet the monorepo engine and Git server built for AI agents.
Quick start
Start the local stack, create a repository, and make your first push.
User guide
Work with Git, repository paths, files, tags, and the HTTP API.
Configuration
Configure storage, authentication, profiles, and optional services.
Deployment
Run and operate a trunk / storage-only Mega2 service.
Architecture
Understand modules, the storage layers, and the serialized write path.
Usage recipes
Migrate repositories and work with LFS, OCI images, and build artifacts.
Contributing
Set up a development environment and contribute changes to Mega2.