Is there a way to use Windows Authentication (Active Directory) for a Git server?

Pat O picture Pat O · Dec 1, 2010 · Viewed 24.4k times · Source

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.

Answer

Luke picture Luke · Dec 1, 2010

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