How can I have Github on my own server?

前端 未结 16 1742
鱼传尺愫
鱼传尺愫 2020-12-07 09:53

Is there anything out there like Github that is for your own local server? I am curious if there is like a PHP script or even a desktop client that mimics Github\'s functio

16条回答
  •  被撕碎了的回忆
    2020-12-07 10:25

    You can run Git (not the whole Github) via Apache HTTP Server, so that you host the Git repo on your server's filesystem and expose it via HTTP. You get all Git functionalities, but obviously you won't be able to pull-request or track issues. Any tool attached to your self-hosted Git repo can implement the rest of the features.

    Reference: http://git-scm.com/docs/git-http-backend

提交回复
热议问题