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