我可以在本地托管的 Git 存储库服务器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/722765/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Git repository server I can host locally
提问by jcnnghm
Does anyone know of a Git repository browser that I can host on my own server similar to GitHub? I really like the GitHub browsing and history interface, but my favorite part is the network graph. I'd like to run something like this to see the branches and merges in my own repositories.
有谁知道我可以在自己的服务器上托管类似于 GitHub 的 Git 存储库浏览器?我真的很喜欢 GitHub 浏览和历史记录界面,但我最喜欢的部分是网络图。我想运行这样的东西来查看我自己的存储库中的分支和合并。
采纳答案by Maran
You can download and setup Gitorious. It's free open-source git-hosting software. I'm not sure about all the features it has so take a closer look, it might be the right thing for you.
您可以下载并设置Gitorious。它是免费的开源 git 托管软件。我不确定它的所有功能,所以仔细看看,它可能适合你。
Updated January 2016:
2016 年 1 月更新:
Gitlabis becoming the defacto standard for self-hosted Github clones.
Gitlab正在成为自托管 Github 克隆的事实上的标准。
Gogsis a simpler clone that could work well for smaller projects.
Gogs是一个更简单的克隆,可以很好地用于较小的项目。
回答by richq
Paying for github private hosting seems the quickest way. The network viewer is totally proprietary.
支付 github 私人托管费用似乎是最快的方式。网络查看器是完全专有的。
There are patches over on repo.or.czthat add a similar interface as gitk to the vanilla gitwebfront end. It is, or at least was when I tried it, a complete pain to set up but is doable for your own projects.
有超过上的补丁repo.or.cz是添加了类似接口gitk到香草的GitWeb前端。这是,或者至少当我尝试它时,设置起来非常痛苦,但对于您自己的项目是可行的。
The output is really like gitk, like it or loathe it, so if you are used to that it is familiar at least. Here is the graphical log of git itself.
回答by luksch
Another option you have these days is http://gitlab.org/
这些天你的另一个选择是http://gitlab.org/
It is open source and free to use. It is based on ruby on rails though, so it might not be available on your average php hosting service.
它是开源的,可以免费使用。它基于 ruby on rails,所以它可能无法在您的普通 php 托管服务上使用。
回答by intland
codeBeamercan be installed on your very own server, as an "intranet GitHub".
codeBeamer可以安装在您自己的服务器上,作为“内网 GitHub”。
It does everything GitHub does: Git repository hosting, workflows and pull requests, issue tracking, wiki, binariy downloads, etc. and more. It doesn't actually have the network graph, as this feature is considered a "nice to have", rather than a "must have" feature among our users.
它可以完成 GitHub 所做的一切:Git 存储库托管、工作流和拉取请求、问题跟踪、维基、二进制下载等。它实际上没有网络图,因为在我们的用户中,此功能被认为是“值得拥有”,而不是“必须拥有”的功能。
(Disclaimer: we develop this commercial product.)
(免责声明:我们开发此商业产品。)
回答by Mark Grimes
回答by James Moger
Gitblitis an open-source, integrated, pure Java Git server, viewer, and repository manager for small workgroups. The current version (0.5.1) does not support anything like network graph, but its a quick and easy-to-use tool for hosting and browsing git repositories.
Gitblit是面向小型工作组的开源、集成、纯 Java Git 服务器、查看器和存储库管理器。当前版本 (0.5.1) 不支持类似网络图的任何东西,但它是一个用于托管和浏览 git 存储库的快速且易于使用的工具。
回答by Shard
I agree with rq above with github private repos are a good way to go even for a solo developer.
我同意 rq 上面的 github private repos 是一个很好的方法,即使对于单独的开发人员也是如此。
I also use Git extensionson windows and it gives some nice gui extras.
我还在Windows 上使用Git 扩展,它提供了一些不错的 gui 附加功能。