From: Konstantin Khomoutov <kostix+git@007spb.ru>
To: "Lang, David" <David.Lang@uhn.ca>
Cc: "'git@vger.kernel.org'" <git@vger.kernel.org>
Subject: Re: Question re. git remote repository
Date: Wed, 16 Jan 2013 22:06:15 +0400 [thread overview]
Message-ID: <20130116220615.48c159546bccfa5b9cd9028e@domain007.com> (raw)
In-Reply-To: <201301161749.r0GHnGV6007806@smtpb02.one-mail.on.ca>
On Wed, 16 Jan 2013 17:49:09 +0000
"Lang, David" <David.Lang@uhn.ca> wrote:
> 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.
The name "origin" is purely arbitrary: any local repository might have
> It appears from the limited reading I've done that the remote
> repository must be hosted at github.com. Is this the case?
Of course not. github is just a Git hosting provider. There are
plenty of them -- both commercial and not-for-profit (a well-known
service bitbucket.org is one example).
> Ideally we'd prefer to simply create our remote repository on a drive
> of one of our local network servers. Is this possible?
Yes, this is possible, but it's not advised to keep such a "reference"
repository on an exported networked drive for a number of reasons (both
performance and bug-free operation).
Instead, the canonical way to host "reference" repositories is to make
them accessible via SSH or via HTTP[S]. To do this, a server running
some POSIX OS (Linux- or *BSD-based) is the best bet. Both kinds of
access require Git itself installed on the server. Obviously, SSH
access requires an SSH server software (such as OpenSSH) as well and
HTTP[S] access requires a web server (such as Apache). Of course,
everything mentioned is available on any sensible OS you might install
on your server. Read-only access might be provided by a special tool
named "Git daemon" which is a part of Git.
If you have more than a couple of developers you might want to install
certain front-end Git software on the server which provides for
"virtualized" Git users and fine-grained control over who can do what.
Using gitolite [3] for this is the current trend.
Web-browsing for your repositories, if needed, is usually provided by
the tool named gitweb [4].
Everything I've just summarised is well explained in [5] and [6] (as an
addendum).
Another approach is to set up a "turn-key" solution such as GitLab [1]
or gitblit [2].
1. http://gitlabhq.com/
2. http://gitblit.com/
3. https://github.com/sitaramc/gitolite
4. https://git.wiki.kernel.org/index.php/Gitweb
5. http://git-scm.com/book/en/Git-on-the-Server
6. http://git-scm.com/2010/03/04/smart-http.html
next prev parent reply other threads:[~2013-01-16 18:06 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-16 17:49 Question re. git remote repository Lang, David
2013-01-16 18:06 ` Konstantin Khomoutov [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130116220615.48c159546bccfa5b9cd9028e@domain007.com \
--to=kostix+git@007spb.ru \
--cc=David.Lang@uhn.ca \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).