Gitblit Rocks!

360 views
Skip to first unread message

Carlos

unread,
Aug 15, 2012, 10:50:10 PM8/15/12
to git...@googlegroups.com
Wow.  I've been struggling with the convoluted rails implementations of git hosting for a few days.  I was actually *avoiding* Java-based solutions, because I expected to find a lot of J2EE weight.  Shame on me!  What a delight to find Gitblit!  Talk abotu a stealth project.  You guys deserve some PR for all this great work.

For some reason, I can only push over http, not https.  But, hey, it didn't even take me 5 minutes to get going with the GO jar!  That leaves lots of time to figure out what needs doing.  You guys rock.  Gitblit does not suck.  Thanks.

Carlos

James Moger

unread,
Aug 16, 2012, 8:07:28 AM8/16/12
to git...@googlegroups.com
Carlos, thanks for the affirmation and I'm glad it is (mostly) working
well for you.

Pushing to https requires some tinkering on the client-side for each git client.
You must set:

git config --global --bool --add http.sslVerify false

That will do 2 things:
1. it disables trust verification
2. it disables hostname verification[1]

-J

[1] Unfortunately, JGit-based clients (Eclipse, NetBeans, etc) will
still verify the hostname of the certificate against the hostname in
the repository url. This means that you will have to generate a new
self-signed certificate for the hostname you want to serve.

Carlos Mundi

unread,
Aug 16, 2012, 2:47:54 PM8/16/12
to git...@googlegroups.com

Ah yes, thank you James.  I'm already spoiled!

Carlos

Reply all
Reply to author
Forward
0 new messages