I want to have a frontend to my local git repository like github, so I can send my peers links to diffs.

is there anything free that does this?

link|improve this question
feedback

7 Answers

Gitweb is a web-based browser for Git repositories. It's entirely read-only, however, without any Github features.

(Examples: kernel.org, repo.or.cz)

git instaweb will launch gitweb on a local webserver, but it only comes bundled with "first class" git platforms. It doesn't come with msysgit. If someone finds a git instaweb bundle or plugin for windows, please edit this answer.

link|improve this answer
1  
Grawity, could you perhaps add a bit of information about what Gitweb is? Just a single link, even to a useful source, isn't very useful to visitors because it tells us nothing about it. – nhinkle Jan 25 '11 at 19:37
2  
And the git instaweb command is good for one-off sharing. – Tobu Feb 28 '11 at 8:36
feedback

bananajour is a web application for hosting local git repositories that seems to fit the bill. It shows diffs and can be cloned/pushed/pulled to/from. It also supports bonjour discovery which makes it ideal in a local network.

It seems the project has not seen much activity in the last couple of months, though.

link|improve this answer
feedback

TortoiseGit. It's open source, and I think it's what your looking for, but I've never used it.

link|improve this answer
1  
TortoiseGit is a git client. Dustin is looking for a GUI for git server... – udo Jan 25 '11 at 16:30
@udo: There is no such thing a a Git server as it is distrubuted. So TortoiseGit is a valid answer... – Tom Wijsman Jan 25 '11 at 23:10
1  
@Tom: There is - git-daemon for the Git protocol. (And good old sshd for write access.) – grawity Jan 26 '11 at 14:12
Yes, but that's a deamon, it's more like a service than a server. – Tom Wijsman Jan 26 '11 at 14:22
feedback

oh wow, this is worse than slashdot. 3 answers that have nothing to do with the question. Thank God for voting I guess.

@Yutsi: tortoisegit is a git front-end alright but it's not web based. The OP wanted to send links to diffs etc.

@wnoise: neither gitosis nor gitolite have anything to do with the web-based aspect of github. You confused a small overlap of features (hosting git for multiple users) between github and those two, into thinking all the features overlap.

@Ryan: that still won't let you send "links to diffs"; your users would have to download the WHOLE repo and diff it on their local machines.

To the original poster: gitweb is a CGI script that comes with git. There's also "cgit", which some people like a lot more. Both of them should have the feature you want -- being able to send a link to a diff. An example of this is http://git.kernel.org/?p=git/git.git;a=commitdiff;h=a2a564686feddb290afa79c7c18e7939b8ac064e

link|improve this answer
2  
-1, please do not write comments to other users with answers. Answers on this site should contain only solutions to OPs' problems. – Lord Torgamus Mar 21 '11 at 18:40
feedback

http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way

"gitosis" and "gitolite" both aim to do somewhat similar things, and may provide more features than the standard "gitweb"

link|improve this answer
feedback

If you simply copy (or clone) your entire git repo to a web-accessible folder, you can just access it over http.

Actually, you also have to run git update-server-info in the repository, and you need to clone the .git folder inside the repo.

Example: git clone http://mneme.dyndns.org/~ryan/Projects/App-gh/.git

link|improve this answer
feedback

i think the answer on "first-class" git platforms is git instaweb, which runs gitweb on localhost. it doesn't come with msysgit; i have not found an easy way to do this on windows.

link|improve this answer
-1, if grawity's answer was good enough for you, you should accept it instead of writing your own answer with the same info. If you just want to know about a way to use instaweb on Windows, you should ask a new question, or maybe edit the current one. – Lord Torgamus Mar 21 '11 at 18:44
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.