From 8a4ec2ee20b152c805b3bdbf4bfa6ebe78a3cdc8 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 24 Aug 2019 20:44:48 +0200 Subject: [PATCH] git/auto-build --- in/index.rst | 1 + in/public/{versions => }/git/configure.rst | 19 ++++++++++++++++--- in/public/{versions => }/git/index.rst | 0 in/public/{versions => }/git/snippets.rst | 0 in/public/versions/index.rst | 1 - 5 files changed, 17 insertions(+), 4 deletions(-) rename in/public/{versions => }/git/configure.rst (52%) rename in/public/{versions => }/git/index.rst (100%) rename in/public/{versions => }/git/snippets.rst (100%) diff --git a/in/index.rst b/in/index.rst index 0d64535..fc51ba9 100644 --- a/in/index.rst +++ b/in/index.rst @@ -6,6 +6,7 @@ RTFD :maxdepth: 2 public/firefox/index + public/git/index public/ifupdown2/index public/libnss3-tools/index public/nginx/index diff --git a/in/public/versions/git/configure.rst b/in/public/git/configure.rst similarity index 52% rename from in/public/versions/git/configure.rst rename to in/public/git/configure.rst index 3d9ca44..1a94784 100644 --- a/in/public/versions/git/configure.rst +++ b/in/public/git/configure.rst @@ -1,9 +1,8 @@ -********* Configure -********* +========= Identity -======== +-------- .. code:: shell @@ -17,3 +16,17 @@ Identity [user] name = "First Last" email = "user@domain.tld" + +Auto-build +---------- + +.. code:: shell + + git config receive.denyCurrentBranch updateInstead + +* .git/hooks/post-receive (+x) + +.. code:: shell + + #! /bin/sh + ../build_script diff --git a/in/public/versions/git/index.rst b/in/public/git/index.rst similarity index 100% rename from in/public/versions/git/index.rst rename to in/public/git/index.rst diff --git a/in/public/versions/git/snippets.rst b/in/public/git/snippets.rst similarity index 100% rename from in/public/versions/git/snippets.rst rename to in/public/git/snippets.rst diff --git a/in/public/versions/index.rst b/in/public/versions/index.rst index 529aafc..ce84430 100644 --- a/in/public/versions/index.rst +++ b/in/public/versions/index.rst @@ -4,6 +4,5 @@ Versions .. toctree:: :maxdepth: 2 - git/index git-bash/index gource/index