O'Reilly logo

Git Recipes: A Problem-Solution Approach by Włodzimierz Gajda

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 11

image

Hosting git Git Repositories

As soon as you and your colleagues learn how to commit, use branches, and work with remotes, you will want to use git as a group. In this chapter, I will show how to set up a virtual host for sharing git repositories with others.

Git can work with ssh, http, https, and git network protocols. To choose the best solution for your needs, you will have to answer two questions:

  • Do you want to host repositories with read/write access for authenticated users only (i.e., without anonymous public access)?
  • Do you want to host repositories that have anonymous public read-only access?

If you want to host repositories ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required