Skip to content
Snippets Groups Projects
Select Git revision
0 results

100-init.t

Blame
    • Thomas Tuegel's avatar
      12d208c2
      Do not use shared Git repositories · 12d208c2
      Thomas Tuegel authored
      Shared repositories were created using `git init --shared=0600` with the intent
      of keeping configuration data private. Git reports an error if "shared"
      repositories are created with private permissions. (Due to an apparent bug, the
      error was not reported before git-2.13.2.)
      
      Instead of creating a shared repository, use `umask 0077` to make created files
      accessible only to the current user. The umask setting is inherited by child
      processes and respected by Git.
      12d208c2
      History
      Do not use shared Git repositories
      Thomas Tuegel authored
      Shared repositories were created using `git init --shared=0600` with the intent
      of keeping configuration data private. Git reports an error if "shared"
      repositories are created with private permissions. (Due to an apparent bug, the
      error was not reported before git-2.13.2.)
      
      Instead of creating a shared repository, use `umask 0077` to make created files
      accessible only to the current user. The umask setting is inherited by child
      processes and respected by Git.