From a1cbcf20012f0c45894448dc02a641cd028091d0 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Wed, 2 Feb 2011 06:35:03 +0530 Subject: [PATCH] migrate doc neglected to mention that gitolite needs update hook) (although it *is* documented in doc/2, I can see where a migrating user may miss that) --- doc/migrate.mkd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/migrate.mkd b/doc/migrate.mkd index 956cac1..475adc6 100644 --- a/doc/migrate.mkd +++ b/doc/migrate.mkd @@ -32,7 +32,11 @@ Here's how we migrated my work repos: If you do not do this, an accidental push to the gitosis-admin repo will mess up your `~/.ssh/authorized_keys` file -5. take a **backup** of the `~/repositories` directory +5. If you already use the `update` hook for some reason, **rename** it (on + each individual repository) to `update.secondary`. This is because + gitolite uses the update hook for checking write access. + +6. take a **backup** of the `~/repositories` directory Now, log off the server and get back to the client: