问题描述
我有一个关于如何在Windows服务器上安装Git和使用SSH(如CopSSH)进行身份验证发现的文章。我有点惊讶这是我记得读,人们不应该使用Windows计算机的共享Git仓库(抱歉,不记得在那里我读了)。我的问题是,我可以设置的Git使用Windows身份验证,而不是SSH?这将是相当容易,我管理。由于机器会由我在我的闲暇时间进行管理,更容易比较好。
I have found articles regarding how to install Git on a Windows server and use SSH (such as CopSSH) for authentication. I am a little surprised by this as I remember reading that one should not use a Windows machine for a shared Git repository (sorry don't remember where I read that). My question is can I setup Git to use Windows Authentication rather than SSH? This would be considerably easier for me to administer. Since the machine would be administered by me in my "spare time", easier is better.
推荐答案
您可以简单地使用共享文件夹作为Git仓库的域内,并与您的域用户管理它。
You can simply use a shared folder as git repository inside your domain and administer it with your domain users.
c:/> git clone \\myserver\repository\myfolder
这篇关于有没有一种方法来使用Windows身份验证(活动目录)的Git服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!