diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-04-26 02:23:37 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-04-26 02:23:37 +0000 |
commit | 2f102bb1f5361354dc6678e045bbc8fd103136e5 (patch) | |
tree | 950386e6077ab15422a03b413e36b3c3a78cdd97 /git-init.txt | |
parent | a9aee78a156ad6299451294a61aebe2a73945d3c (diff) | |
download | git-htmldocs-2f102bb1f5361354dc6678e045bbc8fd103136e5.tar.gz |
Autogenerated HTML docs for v1.5.5.1-89-g36c79
Diffstat (limited to 'git-init.txt')
-rw-r--r-- | git-init.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/git-init.txt b/git-init.txt index 62914da97..b17ae8485 100644 --- a/git-init.txt +++ b/git-init.txt @@ -31,7 +31,7 @@ structure, some suggested "exclude patterns", and copies of non-executing "hook" files. The suggested patterns and hook files are all modifiable and extensible. ---shared[={false|true|umask|group|all|world|everybody}]:: +--shared[={false|true|umask|group|all|world|everybody|0xxx}]:: Specify that the git repository is to be shared amongst several users. This allows users belonging to the same group to push into that @@ -52,6 +52,12 @@ is given: - 'all' (or 'world' or 'everybody'): Same as 'group', but make the repository readable by all users. + - '0xxx': '0xxx' is an octal number and each file will have mode '0xxx' + Any option except 'umask' can be set using this option. '0xxx' will + override users umask(2) value, and thus, users with a safe umask (0077) + can use this option. '0640' will create a repository which is group-readable + but not writable. '0660' is equivalent to 'group'. + By default, the configuration flag receive.denyNonFastForwards is enabled in shared repositories, so that you cannot force a non fast-forwarding push into it. |