Add a new repo to a gitosis server

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

Flattr this!

Post a Comment

Your email is never published nor shared. Required fields are marked *