git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question re. git remote repository
@ 2013-01-16 17:49 Lang, David
  2013-01-16 18:06 ` Konstantin Khomoutov
  2013-01-16 20:07 ` David Lang
  0 siblings, 2 replies; 31+ messages in thread
From: Lang, David @ 2013-01-16 17:49 UTC (permalink / raw)
  To: 'git@vger.kernel.org'

Hello,

We're just in the process of investigating a versioning tool and are very interesting in git. We have one question we're hoping someone can answer. In regards to the repositories, I think I understand correctly that each developer will have a local repository that they will work from, and that there will also be a remote repository (origin) that will hold the original version of the project.

It appears from the limited reading I've done that the remote repository must be hosted at github.com. Is this the case? Ideally we'd prefer to simply create our remote repository on a drive of one of our local network servers. Is this possible?

Thanks in advance for the help.

David Lang | Application Developer | Tel: 416-340-4800 x.5277
Cardiac IT Dept - Toronto General Hospital
The University Health Network
200 Elizabeth St.
Toronto, ON   M5G 2C4


This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. 
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. 
If you have received this e-mail in error, please contact the sender and delete all copies. 
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.

^ permalink raw reply	[flat|nested] 31+ messages in thread
* Re: Question re. git remote repository
@ 2013-01-16 21:07 Matt Seitz (matseitz)
  0 siblings, 0 replies; 31+ messages in thread
From: Matt Seitz (matseitz) @ 2013-01-16 21:07 UTC (permalink / raw)
  To: git@vger.kernel.org

"Konstantin Khomoutov" <kostix+git@007spb.ru> wrote in message news:<20130116233744.7d0775eaec98ce154a9de180@domain007.com>...
> On Wed, 16 Jan 2013 10:21:56 -0800
> Jeff King <peff@peff.net> wrote:
> > 
> > I agree that performance is not ideal (although if you are on a fast
> > LAN, it probably would not matter much), but I do not recall any
> > specific bugs in that area. Can you elaborate?
> 
> Of course, if there are happy users of such setups, I would be glad to
> hear as my precautions might well be unfounded for the recent versions
> of Git.

I'm a happy user of git on network file systems (NFS and CIFS/SMB), although not a heavy user.

> 1. http://code.google.com/p/msysgit/issues/detail?id=130

I wouldn't be surprised if there are some subtle POSIX-Win32 compatibility issues here between msysgit and Samba (POSIX GIT, ported to use Win32 file system functions, sending those Win32 requests to a Samba server, and the Samba server translating those Win32 requests back into POSIX functions).

^ permalink raw reply	[flat|nested] 31+ messages in thread
* Re: Question re. git remote repository
@ 2013-01-16 23:32 Matt Seitz (matseitz)
  2013-01-17  0:21 ` David Lang
  0 siblings, 1 reply; 31+ messages in thread
From: Matt Seitz (matseitz) @ 2013-01-16 23:32 UTC (permalink / raw)
  To: git@vger.kernel.org; +Cc: ishchis2@gmail.com, david@lang.hm

"David Lang" <david@lang.hm> wrote in message news:<alpine.DEB.2.02.1301161459060.21503@nftneq.ynat.uz>...
> But if you try to have one filesystem, with multiple people running git on their 
> machines against that shared filesystem, I would expect you to have all sorts of 
> problems.

What leads you to think you will have problems?

Why would there be more of a problem on a network file system as opposed to local file system that can be accessed by multiple users?

Linus seemed to think it should work:

http://permalink.gmane.org/gmane.comp.version-control.git/122670

And "git init" specifically has a "shared" option:

--shared[=(false|true|umask|group|all|world|everybody|0xxx)] 
Specify that the git repository is to be shared amongst several users. This allows users belonging to the same group to push into that repository. When specified, the config variable "core.sharedRepository" is set so that files and directories under $GIT_DIR are created with the requested permissions. When not specified, git will use permissions reported by umask(2). 

^ permalink raw reply	[flat|nested] 31+ messages in thread
* Re: Question re. git remote repository
@ 2013-01-17  5:20 Matt Seitz
  0 siblings, 0 replies; 31+ messages in thread
From: Matt Seitz @ 2013-01-17  5:20 UTC (permalink / raw)
  To: git@vger.kernel.org; +Cc: david@lang.hm, 'matseitz@cisco.com'

"David Lang" <david@lang.hm> wrote in message news:<alpine.DEB.2.02.1301161843390.21503@nftneq.ynat.uz>...
> >>
> >> On Thu, 17 Jan 2013, Matt Seitz (matseitz) wrote:
> >>
> >>> 2. a repository where only one user does "git add" and "git commit",
> >> while other users will do "git pull", the peer-to-peer model (you pull changes
> >> from me, I pull changes from you).
> >>
> 
> you may _be_ safe, and if others who really know the internals speak up, take 
> their word on it. 

Well, we already have Linus's article.  I guess the question is whether the use case I describe above falls under:

A. "maintenance operations"

B. "normal git workflow"

Personally, I would consider this use case to be a "normal git workflow".

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2013-01-23 20:25 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-16 17:49 Question re. git remote repository Lang, David
2013-01-16 18:06 ` Konstantin Khomoutov
2013-01-16 18:21   ` Jeff King
2013-01-16 19:37     ` Konstantin Khomoutov
2013-01-16 22:59       ` Stephen Smith
2013-01-16 23:00         ` David Lang
2013-01-17 21:53           ` Lang, David
2013-01-18  5:51             ` Matt Seitz
2013-01-18  6:18               ` David Lang
2013-01-18 18:33               ` Lang, David
2013-01-18 21:56                 ` Matt Seitz
2013-01-23 19:40                   ` Lang, David
2013-01-23 20:24                     ` Junio C Hamano
     [not found]               ` <201301181833.r0IIXNGb027544@smtpb02.one-mail.on.ca>
2013-01-18 20:27                 ` David Lang
2013-01-18 21:20                   ` Junio C Hamano
2013-01-18 21:27                     ` David Lang
2013-01-18 21:38                       ` Junio C Hamano
2013-01-18 23:10                       ` Philip Oakley
     [not found]           ` <201301172153.r0HLrUIr001039@smtpb01.one-mail.on.ca>
2013-01-17 23:19             ` David Lang
2013-01-17 23:49           ` Jeff King
2013-01-16 20:07 ` David Lang
  -- strict thread matches above, loose matches on Subject: below --
2013-01-16 21:07 Matt Seitz (matseitz)
2013-01-16 23:32 Matt Seitz (matseitz)
2013-01-17  0:21 ` David Lang
2013-01-17  1:09   ` Matt Seitz (matseitz)
2013-01-17  1:26     ` David Lang
2013-01-17  1:46       ` Matt Seitz (matseitz)
2013-01-17  1:59         ` David Lang
2013-01-17  2:25           ` Matt Seitz (matseitz)
2013-01-17  2:49             ` David Lang
2013-01-17  5:20 Matt Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).