Changes between Version 4 and Version 5 of Add a new repo to gitolite
- Timestamp:
- 04/29/25 19:17:58 (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Add a new repo to gitolite
v4 v5 1 == Step by step2 3 1 === Requirements 4 2 5 3 You need to have a access to the gitolite repo 6 4 See [[Give a single user write access to gitolite repos]] 5 6 == Step by step 7 7 8 8 * Clone the gitolite-admin repo from /home/git/repositories/gitolite-admin via … … 12 12 }}} 13 13 14 Note: If you get asked for a password you do not have access.14 Note: If you get asked for a password you do not have the correct access permissions. 15 15 16 16 See [[Give a single user write access to gitolite repos]] … … 18 18 * edit the gitolite-admin/conf/gitolite.conf file to add a repo 19 19 20 * Commit and push the change 21 22 There is now an empty repo with the new name under gitolite. 23 24 If you want to migrate an existing repo you can add the gitolite url as remote and push afterwards 25 26 {{{#!sh 27 git remote add origin git@your-server-url:your-repo-name 28 git push 29 }}} 30 20 31 [wiki:Workflows back] 21