Changes between Version 5 and Version 6 of Give users access to gitolite repos


Ignore:
Timestamp:
04/30/25 08:54:27 (3 weeks ago)
Author:
enno
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Give users access to gitolite repos

    v5 v6  
    1 == Create a new SSH key pair for every user or role
     1== Give users access to gitolite repos
     2
     3All changes to your running gitolite instance are made on the checked out gitolite-admin repo.
     4They come into effect as soon as you push them to the server
     5
     6=== Create a new SSH key pair for every user or role
    27
    38{{{#!sh
     
    1823
    1924
    20 == Add the new public key to Gitolite
     25=== Add the new public key to Gitolite
    2126
    22 === Clone the gitolite-admin repo if you haven't already:
     27==== Clone the gitolite-admin repo if you haven't already:
    2328
    2429{{{#!sh
     
    2631}}}
    2732
    28 === Copy the user key to the keydir
     33==== Copy the user key to the keydir
    2934
    3035{{{#!sh
     
    3338}}}
    3439
    35 == Edit conf/gitolite.conf
     40=== Edit conf/gitolite.conf
    3641{{{
    3742repo airsituation
     
    4954'''mesepackager''' can '''only read''' the '''airsituation''' repo
    5055
    51 == Push changes to effect your setup
     56=== Push changes to effect your setup
    5257
    5358Once you changed keydir/ and/or conf/, you must commit and push like this:
     
    6166After push, Gitolite applies changes automatically — no restart needed.
    6267
    63 == Edit local ~/.ssh/config
     68=== Edit local ~/.ssh/config
    6469
    6570Host kokyou.dev
     
    8287SSH knows which key to use depending on which Host alias you reference.
    8388
    84 == Push an existing local project to Gitolite
     89=== Push an existing local project to Gitolite
    8590
    8691From your project directory:
     
    98103}}}
    99104
    100 == Clone a repo using different users/keys
     105=== Clone a repo using different users/keys
    101106
    102107Example: