{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "enroute-sh-enroute--run-local-git-server",
 "repo": "enroute-sh/enroute",
 "repo_url": "https://github.com/enroute-sh/enroute",
 "repo_slug": "enroute-sh-enroute",
 "title": "Run a local Git server and push a repo to it",
 "page_title": "How to run a local Git server and push a repo to it with Enroute",
 "summary": "Start a single Enroute node on your machine and push a repository to it in minutes.",
 "who": "A developer who wants a private Git server for testing or prototyping, with no external database to set up.",
 "problem": "Setting up a Git server with access control and storage usually takes a lot of configuration before the first push works.",
 "outcome": "A running local Enroute node that holds a repository created by your first push.",
 "steps": [
  "Run `curl -fsSL https://enroute.sh/install | sh` to install Enroute.",
  "Run `enroute dev` in one terminal and leave it running.",
  "In another terminal, from your project folder, run `git push http://127.0.0.1:8080/hello.git main`.",
  "Run `enroute repo list` to confirm the repository was created."
 ],
 "agent_prompt": "Using the enroute-sh/enroute README, install enroute, start `enroute dev`, and push the <project-dir> main branch to http://127.0.0.1:8080/<repo-name>.git. Report the output of `enroute repo list`. Verify that <repo-name> appears in that list.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Enroute is early and has no backwards compatibility between 0.x releases, so a storage format change may require a clean slate and a re-push.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "Linux or macOS on Apple silicon, or Docker to run the published image",
  "git installed on your machine",
  "A terminal and, for hooks, a language you can write a small server in"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "remote-script",
   "notice": "The install step pipes a script from Enroute.sh directly into sh, so read the script or verify it before running it."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/enroute-sh-enroute/run-local-git-server/",
 "md": "https://dedupedai.com/use-cases/enroute-sh-enroute/run-local-git-server/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/enroute-sh-enroute--run-local-git-server.json",
 "api_version": "v1"
}
