Reputation: 1427
I'm trying to use GitWeb to explore my repositories, I'm completely new to it, so I'm having a little problems, I know that GitWeb is shipped with Git, I downloaded it from here http://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git, it is located on \share\gitweb, then I opened the console (Git Bash), browsed to the repository and ran the command git instaweb
, but it says git: 'instaweb' is not a git command
.
Anyone know what is the right way to install and configure GitWeb?
I already read a lot of tutorials, but they are so confusing :/
Any help will be appreciated, thanks.
Upvotes: 5
Views: 10565
Reputation: 1523
As in here:
I got it working using git in MSYS2:
- Install MSYS2
Install git:
pacman -S git
Install ruby (webrick is part of Ruby standard library):
pacman -S ruby
You may need to install the CGI.pm perl module using CPAN
And go:
git instaweb -d webrick
Upvotes: 1
Reputation: 1328232
4 years later (2018), gitweb
is definitively removed from Git for Windows:
See Git for Windows 2.19.0 (Sept. 2018):
The
gitweb
component was removed because it is highly unlikely to be used on Windows.
See git-for-windows/git issue 1362
Git for Windows is intended to be used by end users. GitWeb, however, wants to be used in conjunction with a web server such as Apache, and even requires a Perl module to be installed in that web server.
It is almost guaranteed that nobody uses Git for Windows that way, so let's just exclude those files from the installer.
Upvotes: 0
Reputation: 1328232
An alternative to Gogs (mentioned in this answer) is gitea.io.
Gogs is developed by one maintainer (@Unknwon).
Gitea is developed more collaboratively.
Gitea releases are more regular than Gogs releases, and its feature set is more complete.
Upvotes: 2
Reputation: 934
I tried different versions of "local github" and found the most beautiful solution in Windows for me: Gogs https://gogs.io/ (demo)
Easy install - you need only Git Version >= 1.7.1 for both server and client sides. And it allows do pull requests!
Just to give an idea how it looks like in the browser:
Upvotes: 1
Reputation: 653
Maybe this extension could help you :
https://github.com/alberthier/git-webui
It should work on Windows if you have Python installed
Upvotes: 6