Gitosis is software to manage a collection of Git repositories on a server accessible by SSH, without creating local accounts for the users. It has not been updated since 2009. Gitolite is an actively developed alternative with a richer feature set. Use this tag for help with Gitosis installation and usage.
Questions tagged [gitosis]
202 questions
1
vote
1 answer
How to track who pushed into a Gitosis repository?
I'm using Gitosis to manage a set of repositories. The problem I have is that Gitosis doesn't maintain a record of which user pushed a particular commit. The only information I have are the "Author" and "Committer" fields in the commit itself, and…

kbro
- 4,754
- 7
- 29
- 40
1
vote
1 answer
Issue with cloning from user to user on the same server!
I'm working deploying rails applications.
I setup Gitosis on my server.
Git user is up and I'm already have 'deploy' user on the server! I was 'git clone' to my local machine from the deploy user on the server.
After setting up Gitosis, I'm also…

amrnt
- 1,331
- 13
- 30
1
vote
1 answer
Permission denied when running gitosis-init
I'm trying to use gitosis https://github.com/res0nat0r/gitosis
And I do this as the setting up section in its README.md.
When I input sudo -H -u git gitosis-init

Leo Gao
- 629
- 1
- 6
- 17
1
vote
1 answer
Is there any way to perform small low-maintenance readonly Git queries with Gitosis?
We are moving our Git repos from plain Git/SSH to Gitosis for security reasons.
One benefit of plain Git/SSH is that any user can SSH into the Git server and perform a readonly Git query without requiring a full local clone.
For example, if I want…

user1947224
- 11
- 1
1
vote
1 answer
How to setup git automatic deployment with 3 servers [repository, dev, prod]
Recently I've read some notes and tutorials digital ocean of how to set up automatic deployment with Git. The problem is that all solutions were about 2 servers - test and live, and server for test had to have repository within itself.
In my case…

Tomasz Buczeń
- 168
- 12
1
vote
2 answers
gitosis installed ,but can not clone on other client
the server show init ok
but the client error
fatal: 'gitosis-admin.git' does not appear to be a git repository
fatal: Could not read from remote repository
use the private key can connect the server by ssh
…

foxundermon
- 570
- 7
- 18
1
vote
2 answers
using gitosis for GIT
I want user A and B to have clone, push and pull while user C can only do clone and pull (no push)
How do I do that?

pinoyskul
- 143
- 1
- 5
1
vote
2 answers
strange behaviour of git
i have strange behaviour of git - push is working, but clone is not :(
alec$ git clone git://host/repo.git
Initialized empty Git repository in /Users/alec/Temp/repo/.git/
host[0: x.x.x.x]: errno=Connection refused
fatal: unable to connect a socket…

Alexey Poimtsev
- 2,845
- 3
- 35
- 63
1
vote
1 answer
Gitolite Configure post-push hook and perform operation on committed content
I am using the Gitolite to create the git repo.
I have requirement that when user push something to repo it must have some specific file (eg. .md file) otherwise don't let push the code.
So now I need to configure a post-push hook and do some…

user9873999
- 311
- 3
- 15
1
vote
1 answer
gitosis-init error | Traceback (most recent call last)
Hy Guys i got some error while setting up gitosis, i think its some kind of not installed python dependencies
here is my output
git@ubuntu-server ~ % sudo -H -u git gitosis-init < /home/git/cs8898_windows7_21.07.2014.pub
Traceback (most recent call…

cs8898
- 28
- 3
1
vote
1 answer
gitosis-admin git push failed, exec hooks/post-update
I'm following this tutorial
After this step:
$ git commit -a -m "Allow jdoe write access to free_monkey"
$ git push
I always failed, with this error:
fatal: exec hooks/post-update failed.
This is from my…

v14nt0
- 245
- 2
- 3
- 11
1
vote
1 answer
ERROR:gitosis.serve.main:Repository read access denied
Gitosis config:
[gitosis]
loglevel = DEBUG
[group gitosis-admin]
writable = gitosis-admin
members = root.server
[group testgroup]
writable = testproj1
members = Anastasia@ANASTASIA-PC
My log, when I call clone command:
myuser@mydomain /d/www
$…

dudareviv
- 11
- 1
- 2
1
vote
1 answer
How do you upgrade gitosis?
I had a working gitosis installation on debian lenny, but the server got updated, and now when i try to push/pull/fetch, the connection times out. It would probably be a good idea to update to the latest build of gitosis, but I can't find anything…

Mica
- 18,501
- 6
- 46
- 43
1
vote
1 answer
What is the significance of slashes in git repository names?
I haven't been able to find this explained anywhere, so it probably means that if I was thinking about this issue correctly it would be obvious. Please set me straight.
When I create a repository 'Project' on my gitosis server, I can access it with…

daotoad
- 26,689
- 7
- 59
- 100
1
vote
3 answers
Gitosis installation error
I am trying to install gitosis on my server but keep getting the error "Username contains not allowed characters"
sudo -H -u git gitosis-init < /tmp/id_rsa.pub
with the username "abhinav@115.118.212.234.static-delhi.vsnl.net.in".
Any fix for…

Abhinav
- 38,516
- 9
- 41
- 49