If I make an analogy with the hosting of a web server, I would say that git's data should be in /var/git, so my git repository would be in /var/git/myrepo
Q: Is that the right guess ?
|
If I make an analogy with the hosting of a web server, I would say that git's data should be in Q: Is that the right guess ? |
|||
|
|
|
There is no right or wrong answer here, except the one dictated by your own personal religion and the contents of the typical Linux
|
|||
|
|
|
Place it in a directory (or shared filesystem) under The
|
|||
|
|
|
It's entirely up to you. Optimally, though, you should put the git data dir on a separate partition or even disk to make system upgrades etc. easier and of course, you have to make sure that there is enough disk space available. |
|||
|
|
|
As voretaq7 said, there is no right or wrong answer on such a subject. However, if you want to follow of softs, it seems that database softs store their data in
For example, for Postgresql 9.1 on debian the folder is
So I would personnaly choose
|
|||
|
|
|
If you use some frontend to git, just go with wherever the one packaged by your distribution wants to place them. Anything else is just creating needless incompatibilities. |
|||
|