Gitolite: print a message after git clone completes

I would like to create a message that appears when someone clones a git repository using gitolite. I want to remind them to clone the hook repositories and activate the contained hooks. How can i do this?

+4
source share
2 answers

I realized that this feature is simply not possible. This did not allow any unauthorized code to be launched from the server on the client - even if it was just a printed message.

+2
source

A quest after verification also starts after git clone . Maybe you can set the hook after checking on your gitolite-managed repositories to emit an instruction line. No matter what the hook says, the user must repeat the echo.

The evidence in the paragraph above is probably about 0.6 or higher, so YMMV is wild.

+1
source

All Articles