Adding users to Gitolite

前端 未结 2 1383
后悔当初
后悔当初 2021-02-01 07:42

I\'m trying to setup Gitolite but I\'m running into a weird issue:

When I add a new public key file for a new user (say raphaelcruzeiro.pub), giolite sends me the follow

2条回答
  •  [愿得一人]
    2021-02-01 08:38

    Here's the workflow for adding users to gitolite:

    Add the users public key to the map keys as .pub

    Edit your gitolite config file (gitolite.conf), this file is in the map conf. When you open it, everthing will be clear.

    example:

    repo  someproject
    
      RW+ = darhuuk
    
      RW  = raphaelcruzeiro
    
      R   = santaclaus
    

    Commit the new key and the modified config file. Then push it to your gitolite server.

    That should do it!

    [Edit] BTW, here is the gitolite paragraph that explains what I wrote above: http://gitolite.com/gitolite/conf.html.

提交回复
热议问题