[git-users] Re: Where to put a git repo?

2011-11-12 Thread Thomas Ferris Nicolaisen
I take it you are talking about the "central" repository where developers 
will be pushing in changes, and then have them being built and tested by 
the build process.

Note that the build box will need to have non-bare repository (with a 
working tree) to work, while the central repository will have to be a bare 
one. (google 
itif
 you don't understand the difference, or read the docs of git clone). 
Typical build-systems (like Jenkins and Hudson) will automatically clone 
and create local non-bare repositories when you configure them with a url 
to the central repository.

There's no convention that I'm aware of. Strictly speaking, it doesn't 
matter. On Linux I've put central repositories under /var/git - and then 
linked to this directory via /git and the home-directory of a user "git" ( 
~git/).

Maybe you could just put it in c:\git-repos..

You could put it in the home-directory of a user called "git", but then it 
would end up in c:\Documents and settings\... right? It's probably better 
to avoid directories with spaces in it.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/Pa6RX2h6GvUJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: Where to put a git repo?

2011-11-12 Thread Lars Pensjö
Just to double check, but are you sure speed is an important factor?

When you "git clone", you get a copy anyway, which is as fast as you can 
get it. It is only the push and pull that are affected, and you might not 
need them as frequently. There are other advantages of having the 
repository on another server, like redundancy (in case of a crash).

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/MzIG4LrA5ZAJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.