Search code examples
windowsgitinstaweb

Git instaweb on windows? got a error


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.


Solution

  • 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.