Is it possible? My authorized_keys file was wiped, updating gitolite admin rules only appends to file. Is it possible to regenerate the whole file based on gitolite config?<
With gitolite g3 (the version 3.x), a simple:
gitolite setup
(executed on the server) is enough.
See src/lib/Gitolite/Setup.pm:
Setup gitolite, compile conf, run the POST_COMPILE trigger (see rc file) and propagate hooks.
This one command is easier to remember than gitolite trigger POST_COMPILE
.