Git: Location of repository

From FVue
Jump to: navigation, search

Problem

Git repositories can be stored anywhere, e.g.:

  • ~/git
  • ~/work/git
  • /usr/local/var/git

But what's is the preferred location according to the Filesystem Hierarchy Standard?

Solution

/srv

See: Filesystem Hierarchy Standard - Wikipedia"