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

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

Comments

Popular posts from this blog

How to use the Inbox Repair Tool to recover messages in Outlook 2000 that is installed with Internet Mail Only option

Repair corrupt Outlook PST files with two Microsoft utilities

Repair corrupt Outlook PST files with two Microsoft utilities