Version 5 (modified by 4 weeks ago) ( diff ) | ,
---|
Requirements
You need to have a access to the gitolite repo See Give a single user write access to gitolite repos
Step by step
- Clone the gitolite-admin repo from /home/git/repositories/gitolite-admin via
git clone git@your-server-url:gitolite-admin
Note: If you get asked for a password you do not have the correct access permissions.
See Give a single user write access to gitolite repos
- edit the gitolite-admin/conf/gitolite.conf file to add a repo
- Commit and push the change
There is now an empty repo with the new name under gitolite.
If you want to migrate an existing repo you can add the gitolite url as remote and push afterwards
git remote add origin git@your-server-url:your-repo-name git push
Note:
See TracWiki
for help on using the wiki.