From 42d0a2b3e041a1a019ab5b3fd4e242184a4af648 Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Mon, 18 Jun 2007 13:00:04 +0200 Subject: [PATCH] add some git information to the wiki --- wiki/index.html | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/wiki/index.html b/wiki/index.html index 842d2616a..89ab40df8 100644 --- a/wiki/index.html +++ b/wiki/index.html @@ -747,8 +747,10 @@ config.macros.timeline.handler = function(place,macroName,params,wikifier,paramS } //}}} -
-
This 'index.html' becomes the entry point of some tiddlywikis managed under git. There is a 'empty.html' in the same folder serving as template for generating new wikis. Please refrain from editing it.
+
+
This 'index.html' becomes the entry point of some tiddlywikis managed under git. There is a 'empty.html' in the same folder serving as template for generating new wikis. Please refrain from editing it.
+
+* I started a GitNotes where we will collect some information about git, howto and special setups
GettingStarted
@@ -826,6 +828,22 @@ Slider.prototype.stop = function()
 }
 //}}}
+
+
to make the admin/git_hooks/post-commit working add following to your .gitconfig:
+{{{
+[alias]
+        sign = tag -s -f -m 'automatic generated on last commit'
+        publish = push --all public
+}}}
+
+
+
I use some GitAliases to make signing and publishing easier.
+
+the '.git' dir itself is not versioned/distributed since it usually contains site-specific things. Despite this we might want to distribute some maintenance scripts and hooks so I put the default hooks into admin/git_hooks/ and users can symlink from .git/hooks them when needed.
+
+For now I hope this aproach suffices, maybe we need admin/git_hooks/$HOOKNAME.$USER at some point when it turns out that people want personal hooks.
+
+
/***
 ''InlineJavascriptPlugin for ~TiddlyWiki version 1.2.x and 2.0''