DEBIAN_PRIORITY=low apt-get install gitolite3
Log on to the server, and run
gitolite setup -pk alice.pub
.
That's it; the new alice.pub file replaces whatever existed in the repo before.
Clone control repo:
git clone git@localhost:gitolite-admin
username.pub
into keydir
conf/gitolite.conf
repo foo RW+ = alice RW = bob R = carol
* commit changes
git add conf git add keydir git commit -m "added foo, gave access to alice, bob, carol" git push
git remote add origin git@localhost:mynewrepo git push origin master --set-upstream