2009-09-24-add-a-new-repo-to-a-gitosis-server.md 509 B


title: Add a new repo to a gitosis server author: Marcus Rohrmoser type: post date: 2009-09-24T21:21:54+00:00 url: /2009/09/add-a-new-repo-to-a-gitosis-server/ yourls_shorturl:


Another quick recipe:

  1. create a local repo: git init
  2. add it to the gitosis conf (git pull, edit gitosis.conf, git commit, git push)
  3. git remote add origin git@example.com:repository.git
  4. git push --force --all