Questions tagged [git-daemon]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
898 views

Why do git commands just return 'error: daemon terminated'

I run git add . and then it does nothing for a while, and then says error: daemon terminated. This happens with all commands, not just git add How do I fix that? git status does show a bit of ...
Logos King's user avatar
0 votes
1 answer
83 views

download files from remote server using git protocol

is it possible to download files from a remote server running git-daemon? or how to download files from git:// server like downloading files using curl from http:// server? the server is running this ...
geek175's user avatar
  • 107
0 votes
0 answers
131 views

Docker container with git-daemon keeps stopping

Not sure whether it's my misunderstanding of docker, git-daemon, general linux-fu or all of the above, but having set up one inside the other I'm noticing that the container will run for around 20 ...
John S.'s user avatar
  • 169
3 votes
2 answers
354 views

How to git push from Git for Windows client to git-daemon running on ubuntu

I want to eventually run a git server on a Raspberry Pi but for now I am testing on ubuntu (running on VirtualBox VM). My development machine is Windows 7 64 bit and running Git For Windows v2.32.0....
Angus Comber's user avatar
  • 9,346
1 vote
1 answer
297 views

How to git clone bare remote git repository on another host

I have ubuntu running on a virtual box guest with IP address 192.168.0.92 and I can ping this computer from my host running Windows 7. I can also ping the other way from ubuntu to windows. In ubuntu ...
Angus Comber's user avatar
  • 9,346
2 votes
0 answers
184 views

Cannot clone repo from git daemon

Noob question. I can't really clone a very basic repo which I am serving through a daemon. On one terminal cd /repos $ git daemon --export-all --reuseaddr --informative-errors --verbose [12680] Ready ...
largehadroncollider's user avatar
1 vote
1 answer
426 views

Git daemon clone fatal error in sideband demultiplexer and read error invalid argument

I'm trying to figure out git daemon. I have seen many posts and threads including Stack Overflow questions regarding this issue, however none of the solutions helped me. The repo is 100% not ...
ymdred16's user avatar
1 vote
1 answer
68 views

Aborting "git push" - open git-daemon-export-ok.19906 failed: Permission denied at pathto/gitolite.pm line 115

I am using gitolite and now I am not able to push some changes / new files to the repository. I made no changes on permission's and I worked not on the git scripts. Do you hav an idea which reason ...
Nils's user avatar
  • 29
1 vote
0 answers
304 views

git is unable to clone over LAN using `git daemon`

I have tried to clone my repo from another Windows PC over LAN. Other post about fatal: read error: Invalid argument didn't give me any solutions. On the server $ git daemon --base-path=/c/Users/...
jaques-sam's user avatar
  • 2,588
2 votes
3 answers
1k views

git daemon over ssh - fatal: protocol error: bad line length character: SSH-

I'm created user "gitproxy" on the server side, added my ssh key to its authorized keys and trying to work with git daemon over ssh: gitproxy:~$ git daemon --port=2222 --verbose but have the error: ...
Alexander's user avatar
8 votes
1 answer
20k views

How to access the Host's machine's localhost 127.0.0.1 from docker container

I hosted Git daemon on local host i.e. '/usr/bin/git daemon --listen=127.0.0.1 --base-path=/opt' as a systemd service and I am trying to access it from docker container. I didn't mentioned the port ...
Dhairya's user avatar
  • 753
8 votes
1 answer
2k views

git server hosting using git:// protocol, unable to set SO_KEEPALIVE, no such file or directory

I'm on Windows using git version 2.12.2. I ran the following command within a git bash shell: $ git daemon --reuseaddr --verbose --informative-errors --base-path=/c/ /c/ On another git bash shell, ...
solstice333's user avatar
  • 3,449
2 votes
1 answer
334 views

How to determine SSH fingerprint of client for usage in Git hook

I've got a Git update hook which checks if the branch being updated is master and if so, sends an error message to the client. I now would like to make it so only pushes to master which I myself make ...
papiro's user avatar
  • 2,158
1 vote
1 answer
606 views

git daemon with LFS?

Is it possible to use git daemon with a repository that has LFS setup on it? I have a machine that isn't able to connect to my corporate VPN (no Linux client), and I must share a repository with it to ...
MuertoExcobito's user avatar
0 votes
0 answers
286 views

Can one push to "git://" repo from Windows?

I have a repo (on Linux machine), this repo is exposed by using git:// protocol. I can successfully clone, fetch and push to that repo from Linux machines. But from Windows machines a can only clone ...
Egor   Skriptunoff's user avatar
12 votes
2 answers
4k views

Git 'pre-receive' hook and 'git-clang-format' script to reliably reject pushes that violate code style conventions

Let's immediately start with a scrap of the pre-receive hook that I've already written: #!/bin/sh ## format_bold='\033[1m' format_red='\033[31m' format_yellow='\033[33m' format_normal='\033[0m' #...
Alexander Shukaev's user avatar
2 votes
1 answer
931 views

Git daemon logging, how to enable it and store the logs into a file, e.g. like /var/log/git.log?

if you think that this is not the proper section of SE where to post a question like this, tell me where should I put it and I will move it. Anyway. I have a git daemon set up on my OS X machine ...
tonix's user avatar
  • 6,671
2 votes
1 answer
524 views

Running git daemon with read only user gives "fatal: cannot drop privileges"

I am not sure if this is the right section where to post, if it is not, please tell me where should I post the following issue: I am on a LAN with two machines: one with OS X Yosemite on it which ...
tonix's user avatar
  • 6,671
0 votes
1 answer
2k views

git daemon, test responds "does not appear to be a git repository"

Installing git daemon for the first time. I have it running: [todd@hqdevgit01 test.git]$ ps -ef | grep git 501 3204 1 0 10:14 ? 00:00:00 git-daemon --reuseaddr --user=gitdaemon --...
akaphenom's user avatar
  • 6,728
3 votes
0 answers
178 views

git daemon slow first request on ubuntu 14.04

I've got a couple of ubuntu 14.04.1 boxes running on an vmware esxi rig. On one server I am running a git-daemon: sudo git daemon --base-path=. --enable=receive-pack --export-all --verbose The ...
kjn's user avatar
  • 513
0 votes
1 answer
85 views

Issues hosting local git repo

I've successfully set up a git repository with Cygwin on my desktop, thanks to this post. Now, I'm having problems connecting to that repo from my laptop. Specifically, the connection times out ...
0x5453's user avatar
  • 12.8k
4 votes
2 answers
2k views

Where are logs of git-daemon saved? (Git on windows using Cygwin)

I am running git-daemon as a windows service. (using Create Process) The command used in service is: git daemon --reuseaddr --base-path=/data/test_work/ --export-all \ --verbose --enable=receive-...
Mudassir Razvi's user avatar
2 votes
3 answers
5k views

Why i can use git-daemon serve my git repo?

There are some git bare repo in /home/git/repositories dir. I use git-daemon-run serve git protocol to access these repos. For example /home/git/repositories/root/spider.git is a bare git repo. This ...
王振威's user avatar
1 vote
1 answer
118 views

Git-daemon - how does one update cloned repo>?

I need allow anon access to a few repos. I read a few how-tos and docs on git-daemon that use the git clone clone --bare approach and serve the cloned repo, with git-daemon. This works fine, ...
Stephane Gosselin's user avatar
0 votes
1 answer
455 views

Installing gitorious issue

I am struggling with the installation of gitorious (on an Ubuntu 12.04 distribution) on my local server following this tutorial : http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server ...
user1611830's user avatar
  • 4,749
3 votes
1 answer
3k views

why my git can't push to my server by gitolite use git-daemon

when I use gitolite, ignoring git-daemon, I can do like git clone git://xxx/xxx,but when I push the project, it shows me the error: Total 2 (delta 0), reused 0 (delta 0) remote: Empty compile time ...
user1683012's user avatar
0 votes
1 answer
1k views

Connection to Git daemon on Windows 7 getting "reset by peer" error

I'm running the Git dameon on Win7 (Ultimate - x64) from MinGW. When I first start the daemon (as in first time it runs since the last restart), I can perform any command on the server from a remote ...
Logan Bibby's user avatar
  • 1,167
9 votes
4 answers
13k views

What is git-daemon?

What is git-daemon? Is it a default git function? I am trying to understand this so that I can host a repository on a server that people can push/pull from. So far I am able to clone a "--bare" ...
junsungwong's user avatar
1 vote
1 answer
2k views

Auto start git daemon on window server

I am pretty new to Git. Trying to setup git repository in window server 2008 R2. I have finish with everything even tried to create new repository and cloning on same computer everything look good. ...
Pritesh Patel's user avatar
0 votes
1 answer
544 views

Why won't git-daemon serve my repositories?

I'm using git version 1.7.9 and while I've checked and double checked my configuration, I can't get the clones to work from the daemon. There's no indication of any error in /var/log/messages: Feb 14 ...
Danny Thomas's user avatar
  • 1,889
0 votes
1 answer
158 views

How could I recover my git-daemon repositories

I had a Gitorious install that got old and it is clear now that it is not coming back. I want to recover the repos (mainly the wiki repos) from the repository. I do not want to repeat the long and ...
rhaag71's user avatar
  • 519
0 votes
1 answer
3k views

how to use scm manager with git?

I'm just new in git and am still relying on git extension for most task. I've search how to start git daemon in windows and found a suggestion that scm-manager may be an alternative for it. https://...
Corbee's user avatar
  • 979
3 votes
3 answers
11k views

How to install git daemon on Ubuntu 10.04

I'm sharing my repository on my Linux nozim-desktop 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686 GNU/Linux and I when I run: sudo -u git git-daemon --base-path=/home/git/...
Nozim's user avatar
  • 587
4 votes
2 answers
3k views

Starting git-daemon on OS X using launchd

I am trying to set up an internal git server using my OS X desktop (mostly as a test case). Everything works when SSH keys are involved, but I am currently trying to use git-daemon for read-only ...
marshall.ward's user avatar
13 votes
4 answers
6k views

Unable to push to git Repository. It hangs after "Writing Objects: 100%"

I am running git daemon with the following command. c:\cygwin\bin\git daemon --reuseaddr --base-path=/cygdrive/S --export-all --verbose --enable=receive-pack I am able to clone and pull updates but ...
JasonRed's user avatar
  • 133
0 votes
3 answers
421 views

As of right now, on Windows 7, does Mercurial start up a server much simpler than Git?

On Windows 7, from reading hginit.com, it seems like it is very easy to set up a Mercurial server? mkdir repo cd repo hg init hg serve and that's it? Now http://localhost:8000 is the server. It ...
nonopolarity's user avatar
27 votes
2 answers
25k views

Why won't git-daemon serve my repository?

I set up .git in a directory on my local machine. I then run: mkdir a cd a git init git daemon When I attempt to clone the repository in a, I get the following error: mkdir b cd b git clone git://...
yazz.com's user avatar
  • 57.4k