[SCM] Lisaac scripts branch, master, updated. 9596419e5024b888e2a1458c97a4afe29af7147e
Xavier Oswald
x.oswald at free.fr
Fri Oct 17 15:46:02 UTC 2008
The following commit has been merged in the master branch:
commit 9596419e5024b888e2a1458c97a4afe29af7147e
Author: Xavier Oswald <x.oswald at free.fr>
Date: Fri Oct 17 17:45:46 2008 +0200
Add a small README which tell how to do svn->git migration
diff --git a/git/README b/git/README
new file mode 100644
index 0000000..62df171
--- /dev/null
+++ b/git/README
@@ -0,0 +1,24 @@
+ --------------------------------------------------------------
+ Small svn->git repositories remember
+ --------------------------------------------------------------
+
+
+# Replace benchmarks by an other svn project.
+
+# git-svn clone svn+ssh://oskar@svn.gna.org/svn/isaac/trunk/benchmarks benchmarks
+# mv benchmarks/.git benchmarks.git/
+# rm benchmarks
+# edit benchmarks.git/description
+# edit benchmarks.git/config
+# bare = true
+
+git repack && git gc
+
+git config --add hooks.mailinglist "lisaac-commits at lists.alioth.debian.org"
+
+cat >hooks/post-receive <<END
+#!/bin/sh
+exec /usr/local/bin/git-commit-notice
+END
+
+chmod 755 hooks/post-receive
--
Lisaac scripts
More information about the Lisaac-commits
mailing list