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

Re: Git push over git protocol for corporate environment

From
Ismael Luceno <ismael.luceno@gmail.com>
Date
Oct 2, 2009, 18:54 UTC
Message-ID
<4AC64C75.8090809@gmail.com>
In-Reply-To
<76c5b8580910020741p2024f6c0w70be53338924e7e8@mail.gmail.com>
Eugene Sajine escribió:
> I think that this is what is missing right now in order for git to get
> rocket start and spread inside companies: secure and easy to maintain
> mainline hosting.
> 

It looks like your problem is using cygwin. It's more complicated on a MS-Windows environment, and personally I think it's a _very bad idea_.

Git is really easy to use in fact, you just set up the repo with:
  mkdir repo.git
  cd repo.git
  git init --bare --shared=all

--shared=all makes the repo readable to anyone, and ensures push rights to users under the same group as the user setting up the repo. You can change the group with chmod of course.

SSH access will be needed to push, unless the users can remotely mount the repo via NFS or any other protocol.

Pulling is possible over http too, you just need to make hooks/post-update executable. To export via git protocol you must create an empty file named "git-daemon-export-ok".

Besides setting a web repo browser and git-server there's nothing else specific to git.

-- 
Ismael Luceno
Previous: Eugene SajineNext: Jakub Narebski
Message 11 of 13 in “Git push over git protocol for corporate environment”
  1. Eugene SajineSep 30, 2009
  2. David BrownSep 30, 2009
  3. Jakub NarebskiSep 30, 2009
  4. Michael PooleSep 30, 2009
  5. Shawn O. PearceOct 1, 2009
  6. Marius Storm-OlsenOct 1, 2009
  7. Shawn O. PearceOct 1, 2009
  8. Eugene SajineOct 2, 2009
  9. Shawn O. PearceOct 2, 2009
  10. Eugene SajineOct 2, 2009
  11. Ismael LucenoOct 2, 2009
  12. Jakub NarebskiOct 4, 2009
  13. Matthieu MoyOct 4, 2009

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.