Search This Blog

Tuesday, July 10, 2012

rare or one-time activities

rare or one-time activities:


moving existing repos into gitolite

On the server:
  • Move the repos to $HOME/repositories.
  • Make sure that:
    • They are all bare repos.
    • All the repo names end in ".git".
    • All the files and directories are owned and writable by the gitolite hosting user (especially true if you copied them as root).
  • Run gitolite setupIf you forget this step, you can also forget about write access control!
Back on your workstation:
  • Add them to conf/gitolite.conf in your clone of the admin repo, then commit and push the change.
    If the repos are already covered by some wild pattern, this is optional.

No comments:

Post a Comment