Regenerate authorized_keys file in gitolite?
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? EDIT: found it! gitolite trigger POST_COMPILE 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 . 来源: https://stackoverflow.com/questions/16004729/regenerate-authorized-keys-file