threads / discuss / 24710

Can Git work for us if we are remotely hosted?

Subject: Can Git work for us if we are remotely hosted?

## tl;dr

6 messages between Aug 11, 2010 and Aug 12, 2010.

replies: 5people: 2as markdown or json

Sultan Shakir· Aug 11, 2010, 22:51 UTC · lore

I've been trying to wrap my brain around how I can get Git to work at my organization. The issue is that nearly all of our programs and their IDE are remotely hosted. This means that to even work on a file we have to connect to the network in order to use the application that we code in. We do have access to the backend where the files are stored though. How can we use Git in this situation without setting up another server?

Avery Pennarun· Aug 11, 2010, 23:06 UTC · re: Sultan Shakir · lore

Re: Can Git work for us if we are remotely hosted?

On Wed, Aug 11, 2010 at 6:51 PM, Sultan Shakir <sshakirflhosp@gmail.com> wrote:
Show 7 quoted lines
> I've been trying to wrap my brain around how I can get Git to work at
> my organization.  The issue is that nearly all of our programs and
> their IDE are remotely hosted.  This means that to even work on a file
> we have to connect to the network in order to use the application that
> we code in.  We do have access to the backend where the files are
> stored though.  How can we use Git in this situation without setting
> up another server?

If you want, you could just push/pull to a git repo in a file share on one of your existing fileservers.

Have fun,
Avery
Sultan Shakir· Aug 12, 2010, 17:59 UTC · re: Avery Pennarun · lore

Re: Can Git work for us if we are remotely hosted?

On Wed, Aug 11, 2010 at 7:06 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
Show 16 quoted lines
> On Wed, Aug 11, 2010 at 6:51 PM, Sultan Shakir <sshakirflhosp@gmail.com> wrote:
>> I've been trying to wrap my brain around how I can get Git to work at
>> my organization.  The issue is that nearly all of our programs and
>> their IDE are remotely hosted.  This means that to even work on a file
>> we have to connect to the network in order to use the application that
>> we code in.  We do have access to the backend where the files are
>> stored though.  How can we use Git in this situation without setting
>> up another server?
>
> If you want, you could just push/pull to a git repo in a file share on
> one of your existing fileservers.
>
> Have fun,
>
> Avery
>

Avery, Please excuse my ignorance. What do you mean by a "file share" and "existing fileservers"?

Avery Pennarun· Aug 12, 2010, 18:08 UTC · re: Sultan Shakir · lore

Re: Can Git work for us if we are remotely hosted?

On Thu, Aug 12, 2010 at 1:59 PM, Sultan Shakir <sshakirflhosp@gmail.com> wrote:
Show 15 quoted lines
> On Wed, Aug 11, 2010 at 7:06 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
>> On Wed, Aug 11, 2010 at 6:51 PM, Sultan Shakir <sshakirflhosp@gmail.com> wrote:
>>> I've been trying to wrap my brain around how I can get Git to work at
>>> my organization.  The issue is that nearly all of our programs and
>>> their IDE are remotely hosted.  This means that to even work on a file
>>> we have to connect to the network in order to use the application that
>>> we code in.  We do have access to the backend where the files are
>>> stored though.  How can we use Git in this situation without setting
>>> up another server?
>>
>> If you want, you could just push/pull to a git repo in a file share on
>> one of your existing fileservers.
>
> Please excuse my ignorance.  What do you mean by a "file share" and
> "existing fileservers"?

You said you have "access to the backend where the files are stored." Surely that's on a fileserver, like a Windows file sharing service or a samba server or an NFS server, right? Any of those are capable of holding a git repository.

git is much faster if you store files on your local machine as much as possible. But you can push/pull from a shared repository on a samba/NFS/whatever server and that generally won't be a performance problem.

Have fun,
Avery
Sultan Shakir· Aug 12, 2010, 18:22 UTC · re: Avery Pennarun · lore

Re: Can Git work for us if we are remotely hosted?

On Thu, Aug 12, 2010 at 2:08 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
Show 31 quoted lines
> On Thu, Aug 12, 2010 at 1:59 PM, Sultan Shakir <sshakirflhosp@gmail.com> wrote:
>> On Wed, Aug 11, 2010 at 7:06 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
>>> On Wed, Aug 11, 2010 at 6:51 PM, Sultan Shakir <sshakirflhosp@gmail.com> wrote:
>>>> I've been trying to wrap my brain around how I can get Git to work at
>>>> my organization.  The issue is that nearly all of our programs and
>>>> their IDE are remotely hosted.  This means that to even work on a file
>>>> we have to connect to the network in order to use the application that
>>>> we code in.  We do have access to the backend where the files are
>>>> stored though.  How can we use Git in this situation without setting
>>>> up another server?
>>>
>>> If you want, you could just push/pull to a git repo in a file share on
>>> one of your existing fileservers.
>>
>> Please excuse my ignorance.  What do you mean by a "file share" and
>> "existing fileservers"?
>
> You said you have "access to the backend where the files are stored."
> Surely that's on a fileserver, like a Windows file sharing service or
> a samba server or an NFS server, right?  Any of those are capable of
> holding a git repository.
>
> git is much faster if you store files on your local machine as much as
> possible.  But you can push/pull from a shared repository on a
> samba/NFS/whatever server and that generally won't be a performance
> problem.
>
> Have fun,
>
> Avery
>

Thanks Avery. Wouldn't this defeat the purpose of using Git since we can't really run nor can we compile files on our local machines?

Avery Pennarun· Aug 12, 2010, 18:29 UTC · re: Sultan Shakir · lore

Re: Can Git work for us if we are remotely hosted?

On Thu, Aug 12, 2010 at 2:22 PM, Sultan Shakir <sshakirflhosp@gmail.com> wrote:
Show 13 quoted lines
> On Thu, Aug 12, 2010 at 2:08 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
>> You said you have "access to the backend where the files are stored."
>> Surely that's on a fileserver, like a Windows file sharing service or
>> a samba server or an NFS server, right?  Any of those are capable of
>> holding a git repository.
>>
>> git is much faster if you store files on your local machine as much as
>> possible.  But you can push/pull from a shared repository on a
>> samba/NFS/whatever server and that generally won't be a performance
>> problem.
>
> Thanks Avery.  Wouldn't this defeat the purpose of using Git since we
> can't really run nor can we compile files on our local machines?
I don't know; you didn't say what was your purpose for using git.

You can run git directly with files on a network drive, but it'll be much slower than it should be. You might argue that *that* defeats the purpose of using git too, since of the best features of git is how fast it is :)

Have fun,
Avery

← back to recent threads