2

Is it possible to use instaweb on windows?

I have a bare repository at D:/myrepo and I want to use instaweb to see it like this

I have tried this command

git instaweb --httpd=webrick

But I got this error

git: 'instaweb' is not a git command. See 'git --help'.

Thanks in advance.

Andres
  • 4,323
  • 7
  • 39
  • 53

2 Answers2

3

The instaweb command is not yet supported for Windows as of version 1.9.0. It's listed under 'Known issues' in the Windows release notes:

Known issues

• Some commands are not yet supported on Windows and excluded from the installation; namely: git archimport, git cvsexportcommit, git cvsimport, git cvsserver, git instaweb, git shell.

jtiger
  • 473
  • 1
  • 6
  • 19
1

I got it working using git in MSYS2:

  1. Install MSYS2
  2. Install git:

    pacman -S git

  3. Install ruby (webrick is part of Ruby standard library):

    pacman -S ruby

  4. You may need to install the CGI.pm perl module using CPAN

  5. And go:

    git instaweb -d webrick

zwhconst
  • 1,352
  • 9
  • 19