git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Question re. git remote repository

From
DLDavid Lang <david@lang.hm>
Date
Jan 16, 2013, 20:07 UTC
Message-ID
<alpine.DEB.2.02.1301161202390.21503@nftneq.ynat.uz>
In-Reply-To
<201301161749.r0GHnGV6007806@smtpb02.one-mail.on.ca>

Hi David, now we are going to have some confusion here, two David Langs on the list :-)

On Wed, 16 Jan 2013, Lang, David wrote:
Show 11 quoted lines
> 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?

Git is peer-to-peer, the 'origin' is just the default to pull from. It can be hosted on any machine that you have access to.

A typical case is that you designate one person (or a small group of people) to oversee your master repository, and that person decides when and what to pull there from the developers.

This gives you a chance to insert code review, tests, etc between what the developers produce in their local repository and what you then bless as the authoritative 'released' version of the code.

However, this master repository is just a matter of convention, it is possible to use any repository as the 'origin', changing it is just a config change away.

David Lang
Previous: Jeff KingNext: David Lang
Message 15 of 21 in “Question re. git remote repository”
  1. Lang, DavidJan 16, 2013
  2. Konstantin KhomoutovJan 16, 2013
  3. Jeff KingJan 16, 2013
  4. Konstantin KhomoutovJan 16, 2013
  5. Stephen SmithJan 16, 2013
  6. David LangJan 16, 2013
  7. Lang, DavidJan 17, 2013
  8. Matt SeitzJan 18, 2013
  9. David LangJan 18, 2013
  10. Lang, DavidJan 18, 2013
  11. Matt SeitzJan 18, 2013
  12. Lang, DavidJan 23, 2013
  13. Junio C HamanoJan 23, 2013
  14. Jeff KingJan 17, 2013
  15. David LangJan 16, 2013
  16. David LangJan 17, 2013
  17. David LangJan 18, 2013
  18. Junio C HamanoJan 18, 2013
  19. David LangJan 18, 2013
  20. Junio C HamanoJan 18, 2013
  21. Philip OakleyJan 18, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.