Github-git how to handle git HTTP requests based on PHP itself when building a self-service repository

Source: Internet
Author: User
Tags http authentication
How does git handle git's HTTP requests on its own when it builds its own server repository?

Do not know how GitHub, Gitlab and other products are implemented can use the web account of the website to go HTTP authentication can also be managed by the members of the project?

Write your own interface service, do not need third-party software!

Reply content:

How does git handle git's HTTP requests on its own when it builds its own server repository?

Do not know how GitHub, Gitlab and other products are implemented can use the web account of the website to go HTTP authentication can also be managed by the members of the project?

Write your own interface service, do not need third-party software!

PHP also has a socket

Gitlab Open source free project, directly on their own server configuration of Gitlab, you can think of the same as the landlord said authentication and management members and code
Refer to the CentOS build Gitlab

This is my own real git server method, you can try Linux install gogs do git server tutorial

They are the program that encapsulates the Git interface, and you can be interested in it.

https://io-meter.com/2014/07/09/simple-git-http-server/
This article is written in go, hoping to find a way to implement it in PHP.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.