git/auto-build
This commit is contained in:
parent
f0b95a2fe0
commit
8a4ec2ee20
5 changed files with 17 additions and 4 deletions
32
in/public/git/configure.rst
Normal file
32
in/public/git/configure.rst
Normal 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
8
in/public/git/index.rst
Normal file
|
@ -0,0 +1,8 @@
|
|||
Git
|
||||
===
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
configure
|
||||
snippets
|
13
in/public/git/snippets.rst
Normal file
13
in/public/git/snippets.rst
Normal file
|
@ -0,0 +1,13 @@
|
|||
********
|
||||
Snippets
|
||||
********
|
||||
|
||||
TODO
|
||||
====
|
||||
|
||||
* .gitignore
|
||||
* aliases
|
||||
* git diff
|
||||
|
||||
* cached (staging area)
|
||||
* character
|
Loading…
Add table
Add a link
Reference in a new issue