From c823d6f7debf47a174d66d363f968df97e17de86 Mon Sep 17 00:00:00 2001 From: ColinW Date: Fri, 1 Jan 2016 22:39:14 +0000 Subject: [PATCH] Added a comment: Re Comment 1 --- ...nt_2_9ca7b7dfc039c443c4afa9b6ea7c78bd._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/forum/Integrating_annex_get_into_git_checkout_with_hooks/comment_2_9ca7b7dfc039c443c4afa9b6ea7c78bd._comment diff --git a/doc/forum/Integrating_annex_get_into_git_checkout_with_hooks/comment_2_9ca7b7dfc039c443c4afa9b6ea7c78bd._comment b/doc/forum/Integrating_annex_get_into_git_checkout_with_hooks/comment_2_9ca7b7dfc039c443c4afa9b6ea7c78bd._comment new file mode 100644 index 0000000000..588d82272f --- /dev/null +++ b/doc/forum/Integrating_annex_get_into_git_checkout_with_hooks/comment_2_9ca7b7dfc039c443c4afa9b6ea7c78bd._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="ColinW" + subject="Re Comment 1" + date="2016-01-01T22:39:14Z" + content=""" +Yes, it looks simple enough to setup. Just have to test all the git use-cases to ensure it all works before migrating everyone to (transparently) use it. There are only a few big files (~80Mb), so most people won't need to worry about the annex. +The way I'm going to do it is: +1. Put hook scripts into git under ./myhooks, so that a git pull will automatically update to latest hooks. +2. After cloning the git repo, run a setup script to create symlinks from ./.git/hooks/post-checkout etc to the ./myhooks and also setup the annex with something like: + git annex init dummy-annex + git remote add dummy-annex {ip}:/dummy-annex.git + +So the developer does not have to notice the annex. +Thanks Joey. +"""]]