Skip to content
Geek and I
Go back

Hosting git repository on Windows Server with minimal 3rd party packages

Updated:
Mike Horwath1 min read

I need to have a git repository hosted on a Windows Server. Go figure this would be simple to do.

It was a political struggle to get git installed in my work environment. Installing out of the box solutions like scm-manager is not going to happen.

Here is the solution I cobbled together from multiple sources on the Internet.

On my workstation

git clone --bare chrome-app.git clone-chrome-app.git
``` Copy clone-chrome-app.git to the Windows Server
On the Windows Server

cd /path/to/chrome-app.git git init —bare —shared

On the Windows Server

cd /path/to/chrome-app.git git daemon —base-path=. —export-all —reuseaddr —informative-errors —verbose —enable=receive-pack

Back on my workstation

git ls-remote git://IP.of.Windows.Server/chrome-app git remote add windows  git://IP.of.Windows.Server/chrome-app.git



Related Posts

Previous Post
Altium Infrastructure Server vs Microsoft SQL Server 2012
Next Post
Happy Birthday, Nikolina!