git/auto-build

This commit is contained in:
Marc Beninca 2019-08-24 20:44:48 +02:00
parent f0b95a2fe0
commit 8a4ec2ee20
5 changed files with 17 additions and 4 deletions

View file

@ -0,0 +1,32 @@
Configure
=========
Identity
--------
.. code:: shell
git config user.name "First Last"
git config user.email "user@domain.tld"
* ~/.gitconfig
.. code:: ini
[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

8
in/public/git/index.rst Normal file
View file

@ -0,0 +1,8 @@
Git
===
.. toctree::
:maxdepth: 1
configure
snippets

View file

@ -0,0 +1,13 @@
********
Snippets
********
TODO
====
* .gitignore
* aliases
* git diff
* cached (staging area)
* character