]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/config.txt
Make core.sharedRepository more generic
[thirdparty/git.git] / Documentation / config.txt
index fe43b12572fcb1a0b4b91972d2d504b2b594a4da..7a24f6e819ea0e5431748cea64b46369dfd6a114 100644 (file)
@@ -261,7 +261,12 @@ core.sharedRepository::
        group-writable). When 'all' (or 'world' or 'everybody'), the
        repository will be readable by all users, additionally to being
        group-shareable. When 'umask' (or 'false'), git will use permissions
-       reported by umask(2). See linkgit:git-init[1]. False by default.
+       reported by umask(2). When '0xxx', where '0xxx' is an octal number,
+       files in the repository will have this mode value. '0xxx' will override
+       user's umask value, and thus, users with a safe umask (0077) can use
+       this option. Examples: '0660' is equivalent to 'group'. '0640' is a
+       repository that is group-readable but not group-writable.
+       See linkgit:git-init[1]. False by default.
 
 core.warnAmbiguousRefs::
        If true, git will warn you if the ref name you passed it is ambiguous