From 19aa6ad8a96b17bbc269295686c5b22bb918e7ee Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Tue, 6 Nov 2007 17:21:19 +0100 Subject: add forgotten hook to cheatsheet --- doc/ndim-git-cheatsheet.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ndim-git-cheatsheet.txt b/doc/ndim-git-cheatsheet.txt index e280afe..d41ee9d 100644 --- a/doc/ndim-git-cheatsheet.txt +++ b/doc/ndim-git-cheatsheet.txt @@ -25,13 +25,13 @@ What happened in the last N commits: What happened in the commit before the last: $ git diff --color HEAD^^ HEAD^ - Publishing copy of own repo (for upstream to merge from): @local $ git clone --bare my-dir moo @local $ rsync -avz moo user@public:dir/moo.git @public $ cd moo @public $ GIT_DIR=. git-update-server-info @public $ vi description + @public $ chmod +x hooks/post-update @local $ vi my-dir/.git/config # Add this [remote "public"] -- cgit