如何在IIS上设置Git裸HTTP可用存储库 [英] How to set up Git bare HTTP-available repository on IIS
问题描述
我的服务器已经在TCP端口80和443上运行IIS.我想通过Internet向我的所有团队成员提供一个集中的推/拉" Git存储库.
所以我应该使用HTTP或HTTPS.
但是我不能使用Apache,因为IIS已经在端口80和443上挂接了监听套接字!有什么方法可以通过 IIS 发布Git存储库吗? Git是否使用WebDAV?
更新.似乎Git HTTP安装是只读的.真伤心我打算将稳定分支保留在构建服务器上,并使用推送钩子进行重新部署.除了对该分支使用SVN之外,还有人看到解决方法吗?
Bo黑猩猩Git服务器
GitAspx -杰里米·斯金纳(Jeremy Skinner)
https://github.com/JeremySkinner/git-dot-aspx/
https://github.com/JeremySkinner/git-dot-aspx/downloads
安装说明
https://www.jeremyskinner. co.uk/2010/10/19/gitaspx-0-3-available/
Git网站
WebGitNET
https://github.com/otac0n/WebGitNet
或者... (非IIS,但高度推荐,免费且开源)
Gitea (高格斯的叉子): https://gitea.io >
谷歌: https://gogs.io
SCM Manager 使您可以在下面的 Git , Hg 和 SVN 轻松设置版本控制端点.相同的托管过程.支持HTTP/HTTPS以及内置的用户身份验证.
https://www.scm-manager.org
https://bitbucket.org/sdorra/scm-manager/
My server already runs IIS on TCP ports 80 and 443. I want to make a centralized "push/pull" Git repository available to all my team members over the Internet.
So I should use HTTP or HTTPS.
But I cannot use Apache because of IIS already hooking up listening sockets on ports 80 and 443! Is there any way to publish a Git repository over IIS? Does Git use WebDAV?
Update. It seems that Git HTTP installation is read-only. That's sad. I intended to keep the stable branch on a build server and redeploy using a hook on push. Does anyone see a workaround besides using SVN for that branch?
Bonobo Git Server
GitAspx - By Jeremy Skinner
https://github.com/JeremySkinner/git-dot-aspx/
https://github.com/JeremySkinner/git-dot-aspx/downloads
Install Instructions
https://www.jeremyskinner.co.uk/2010/10/19/gitaspx-0-3-available/
Git Web
WebGitNET
https://github.com/otac0n/WebGitNet
Alternatively ... (non-IIS, but highly recommend, free and open-source)
Gitea (fork of Gogs): https://gitea.io
Gogs: https://gogs.io
SCM Manager allows you to easily set up revision control endpoints for Git, Hg, and SVN under the same hosting process. HTTP/HTTPS is supported along with built-in user authentication.
https://www.scm-manager.org
https://bitbucket.org/sdorra/scm-manager/
这篇关于如何在IIS上设置Git裸HTTP可用存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!