简体   繁体   English

GIT设置和通过IIS在本地网络上的远程服务器上访问

[英]GIT Setup and access via IIS on remote server on local network

thank you for reading the question. 感谢您阅读问题。

Case: 案件:

development machine Win7 / Server win2012 - BOTH on the same network and same login and credentials (have admin access to the server) Installed GIT & GITHUB on the server and created bare directory in a shared directory and gave ALL Permissions to all required parties including myself Installed GIT on local machine as well. 开发机器Win7 / Server win2012-两者都在相同的网络上,并且具有相同的登录名和凭据(具有对服务器的管理员访问权限)在服务器上安装了GITGITHUB ,并在共享目录中创建了目录,并向包括我在内的所有必需方提供了所有权限在本地计算机上也安装了GIT。 On the server pointed IIS to shared directory AS a virtual directory Locally, on both machines there are no issues and I can configure locally. 在服务器上,将IIS指向共享目录,作为本地虚拟目录,在两台计算机上都没有问题,我可以在本地配置。 I have a source code that I need to push to the NEW GIT setup to examine if it will work for everybody in the team. 我有一个源代码,需要将其推送到NEW GIT设置,以检查它是否适用于团队中的每个人。

Problem: 问题:

Can not connect from local machine to remote GIT Server. 无法从本地计算机连接到remote GIT服务器。

Comments and process so far: 到目前为止的评论和过程:

All examples happily cover UNIX environments and URL samples across the net all refer to UNIX path structure. 所有示例都愉快地涵盖了UNIX环境,并且网络上的URL示例都引用了UNIX path结构。 I need help on how to share PROPERLY (direct examples / commands) GIT via IIS on Win2012 Server and how to add remote IIS shared repository to local machine. 我需要有关如何通过Win2012 Server上的IIS正确共享(直接示例/命令)GIT以及如何将remote IIS共享存储库添加到本地计算机的帮助。 Can access the server via https in the browser. 可以通过浏览器中的https访问服务器。

HELP!!! 救命!!! :-D :-D

everybody. 大家 After spending more days to work out the basic solution, I came to the point where We have chosen the basic industry tools that after spending more time again, we managed to get to work. 花了几天的时间制定出基本的解决方案之后,我得出了一个结论:我们选择了基本的行业工具,在再次花费更多的时间之后,我们设法开始工作。

So, THIS is NOT a direct Answer, but rather than SOLUTION. 因此, 这不是直接的答案,而是解决方案。

End result: 最终结果:

  1. Install on Win2012 Server, the Bonobo GIT Server ( http://bonobogitserver.com/ ) using default instructions. 使用默认说明在Win2012 Server,Bonobo GIT服务器( http://bonobogitserver.com/ )上安装。

  2. Install "GIT for Windows" and few other optional Clients being available "GIT GUI" and "TortoiseGit". 安装“适用于Windows的GIT”和其他一些可选客户端(“ GIT GUI”和“ TortoiseGit”)。 I like Tortoise tools, so it did work for me again. 我喜欢Tortoise工具,因此它再次为我工作。

  3. To get it working on internal secure (important note) office network, I disabled all security on both sides and allowed "Allow push for anonymous repositories" to get to talk to each other and not to waste any more time. 为了使其能够在内部安全(重要说明)办公网络上正常工作,我禁用了双方的所有安全性,并允许“允许推送匿名存储库”互相交谈,而不浪费更多时间。

so far, it works. 到目前为止,它仍然有效。

PS: Happy to hear other answers and options to get it to work directly via IIS without additional app in the middle. PS:很高兴听到其他答案和选项,以使其直接通过IIS即可工作,而无需中间使用其他应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM