Questions tagged [gitblit]

Gitblit is an open-source, pure Java stack for managing, viewing, and serving Git repositories. It's designed primarily as a tool for small workgroups who want to host centralized repositories.

Gitblit is an open-source, pure Java stack for managing, viewing, and serving Git repositories on Windows, Linux and MacOS. It's designed primarily as a tool for small workgroups who want to host centralized repositories.

Homepage: http://gitblit.com

115 questions
35
votes
10 answers

Invalid SSL certificate when pushing to Git server

I am running Gitblit on a Windows Server and am trying to push data to a repository from another machine on the network. I have used a SSL certificate (not self signed, but I think signed by my company? Not really sure how that works but Chrome, IE,…
Justin
  • 6,373
  • 9
  • 46
  • 72
29
votes
4 answers

Perfectly working curl command fails when executed in a groovy script

I have a post commit hook (a groovy script) in gitblit to invoke a REST endpoint. In this script I am executing a curl command. But it seems to fail. The curl command works fine when executed from the commandline. Following is my groovy…
Amila Maharachchi
  • 2,121
  • 2
  • 15
  • 21
15
votes
4 answers

Git operations occasionally hang in Jenkins on Windows

We are running continuous Jenkins builds of a Git project hosted at Assembla. Jenkins is running on Tomcat 6 under its own user and generally works fine. However every once in a while (say once in every 10 builds), the checkout operation at the…
user1414274
  • 211
  • 3
  • 6
12
votes
1 answer

null pointer in java NIO SSO processor

trying to run gitblit, on tomcat 9, using JDK 11 occassionaly results in this stack trace: gitblit | 07-May-2020 04:30:39.247 SEVERE [https-jsse-nio-8443-exec-10] org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun Error running socket…
user2163960
  • 1,871
  • 19
  • 22
8
votes
1 answer

Git repository on server is much bigger than local clone with all branches

We face currently the strange situation, that a repository that is as local clone only 65MB is on the server (GitBlit, but that should not matter) 12 GB in size. I have tried different ideas what could go wrong here, here is the list: Done git…
mliebelt
  • 15,345
  • 7
  • 55
  • 92
7
votes
2 answers

Gitblit push error "error: RPC failed; result=52, HTTP code = 0"

Setup gitlbit on my Mac OS X 10.8, but keeps failing to push! In the Gitblit web interface, I created an empty repository called empty and cloned it to local storage by the following command: git clone https://localhost:8443/git/test/empty.git I…
T1000
  • 918
  • 2
  • 15
  • 30
6
votes
3 answers

not valid: is this a git repository?

My question is NOT this question. On performing a git clone I am getting this error. Command than I am using is: $ git clone "https://gdt.test.com/gitblit/log/?r=mytest.git&h=refs/heads/branch_development" On simply running: $ git clone…
Farrukh Chishti
  • 7,652
  • 10
  • 36
  • 60
5
votes
0 answers

How to get SSH input/output from single command (ssh exec) in Java (current: sshj)?

tl;dr: how can I get I/O when sending an exec command using sshj? Alternatively, what other Java SSH libraries provide a similar level of abstraction but might work better for my use case? Apart from not working for me, yet, I really like sshj’s…
Bernd Haug
  • 2,157
  • 3
  • 17
  • 21
5
votes
2 answers

How can I setup a GitBlit repository preventing users to push?

I would like that authenticated users can only: view clone fetch/pull from it? basically I want prevent users, even authenticated ones, to push to this git repo. But for other git repos on the same GitBlit I may desire to have authenticated users…
Fabio Vitale
  • 2,257
  • 5
  • 28
  • 38
4
votes
1 answer

Post receive pull hook on gitblit server

I need to set up post-receive hook script on Gitblit server that will pull changes to a website on the same server. In a bash script, command would look something like this: sudo git --work-tree=/var/www/html/mysite…
cakan
  • 2,099
  • 5
  • 32
  • 42
4
votes
1 answer

Git checkout from freshly cloned repository into a branch leads to unstaged changes in that branch

I have a strange git problem. After checking out one of the branches (that is remotely tracked) I instantly get modified and unstaged changes in that branch. I have cloned the repository again to verify the problem still exists. I am using Windows…
ri5b6
  • 370
  • 1
  • 10
4
votes
1 answer

Gitblit "this repository has a working copy and cannot receive pushes" when create new repository

As title, when I create a new repository using WebUI tool from gitblit I got this problem. I tried all type of solution: Create a repository with anonymous read/write. Create a repository with authentication read/write. After created, I try to…
kevind
  • 137
  • 2
  • 9
4
votes
2 answers

Gitblit: Bad Request when navigate to a second-level folder

I am trying Gitblit, which seems quite a good web-UI for Git. The installation through the war file is pretty easy and works out-of-the-box. However, I am running into a strange issue. I am sharing a Maven project which has a standard folder…
ThanksForAllTheFish
  • 7,101
  • 5
  • 35
  • 54
4
votes
1 answer

How to setup gitblit in windows

We need GIT server in our local server. After searched on the internet, we decided to use Gitblit which is easy to install. But we have problems when we want to access the Gitblit from other machines. As the setup documents mentioned in the…
Chris
  • 6,431
  • 10
  • 44
  • 59
3
votes
2 answers

Unknown SSL protocol error when cloning git repository from Gitblit

I've set up a git repository that I access over a remote connection. Using the command line, I can clone the repository, do pushes and pulls, etc. by ssh without problems. I'd like to use gitblit to access the repository over a https connection…
Daniel Lee
  • 2,030
  • 1
  • 23
  • 29
1
2 3 4 5 6 7 8