问题描述
我找到了有关如何在 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
epositorymyfolder
这篇关于有没有办法对 Git 服务器使用 Windows 身份验证(Active Directory)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!