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

RE: Question re. git remote repository

From
MSMatt Seitz <mseitz@mhseitz.onmicrosoft.com>
Date
Jan 18, 2013, 05:51 UTC
Message-ID
<1BBEF94B6B46E54980290D150A6F2EDD46B7AAE2@BN1PRD0612MB635.namprd06.prod.outlook.com>
In-Reply-To
<201301172153.r0HLrU4F019815@smtpb02.one-mail.on.ca>
From: git-owner@vger.kernel.org [git-owner@vger.kernel.org] on behalf of Lang, David [David.Lang@uhn.ca]
> I thought the idea was that each developer installed git locally on their machines 
Yes.
> and (as needed) committed their changes to the master repository which resides externally to any of the local machines, such as on a network 
> server 
Yes, but committing their changes to the master repository is a two step process:
1.  Each developer first commits their changes to their personal repository using the "git commit" command.
2.  Each developer pushes their changes from their personal repository to the master repository with the "git push" command
> (and which I'm assuming has git installed locally as well).
Maybe.
If the machine with the master repository has git installed locally, then each developer can push their changes to the master repository using either the git protocol or the ssh protocol.
If the machine with the master repository does not have git installed locally, then each developer can push their changes to the master repository using NFS or CIFS/SMB.  The git documentation refers to this method as the "file protocol".
The other David Lang (david@lang.hm) believes that using "git push" using NFS or CIFS/SMB may not be safe and reliable.  Based on the following article by the creator of git, I believe using "git push" over NFS or CIFS/SMB is safe and reliable:
http://permalink.gmane.org/gmane.comp.version-control.git/122670
The GitFaq wiki also says that using "git push" over NFS or CIFS/SMB is safe and reliable:
https://git.wiki.kernel.org/index.php/GitFaq#What_can_I_use_to_set_up_a_public_repository.3F
Previous: Lang, DavidNext: David Lang
Message 8 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.