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
3
votes
2 answers
Can Gitosis enforce correct user name/email?
Gitosis is able to authenticate users based on public/private key pair. It is able to find out which user is currently committing. However, the user name and email is taken from the client's Git configuration ('git config user.name' etc.), which can…

k21
- 259
- 2
- 7
3
votes
1 answer
Why would my git master branch have the current HEAD not be the most recently pushed file?
Apologies if this has already been asked. I spent quite a long time looking through old SO posts on Git but have not yet found one that really matches this case.
I'm on a team of 5 developers using Git on a project. We have been using it without…

Aftermathew
- 1,958
- 2
- 13
- 21
3
votes
1 answer
Gitosis Directories of repositories per user?
I was just wondering, is there a way to set up gitosis so that a user would have their own directory to which they could push any number of repositories that they want, and essentially have admin privs on that directory? This might be kind of…

Ibrahim
- 1,883
- 19
- 27
3
votes
3 answers
git push validation from windows sets author to unknown
I have recently setup a new gitosis in my private network on Ubuntu server. All other clients in network are Windows XP machine except one Linux client
I have following setup in gitosis.conf:
[group MyProjectTeam]
writable = MyProjectRepo
members =…

Rakesh
- 73
- 2
- 8
2
votes
1 answer
Gitosis / Git does not execute post-commit hook
I just set up Trac and Gitosis and wanted to control the ticket workflow with the commit messages.
Unfortunately my post-commit hook is not executed. If I execute it on command line (as gitosis user) everything is like charm.
My post-commit is…

Martin Röbert
- 664
- 8
- 25
2
votes
2 answers
How to change gitosis default search path?
I installed gitosis on my ubuntu desktop. But when I try "git clone git@localhost:gitosis-admin.git", it kept searching /home/git/, not /home/git/repositories. So I have to type "git clone git@localhost:repositories/gitosis-admin.git".
I guess…

liuyanghejerry
- 3,771
- 5
- 32
- 38
2
votes
2 answers
Tomcat user not relaying SSH key properly with Jenkins and Gitosis
I have a new setup of Jenkins running as a WAR deployment on a Tomcat6 server in Ubuntu. I also have, on that same server, and install of Gitosis for all of my repositories.
I have been working on getting Jenkins to build the repositories, but have…

Dave Long
- 9,569
- 14
- 59
- 89
2
votes
1 answer
git / gitosis creating a new repo
I followed the tutorial at http://blog.agdunn.net/?p=277 to setup git and gitosis.
I can clone the gitosis-admin repo edit it and push it to the server. When I look at the files on the server they are the same as my local copies so everything is…

ianckc
- 1,716
- 5
- 18
- 33
2
votes
4 answers
What is the easiest (and neatest) way to manage lots of repositories using gitosis?
I am using gitosis to manage a bunch of private repositories. Everything works great and I have no issues with how we add repositories as such. The problem is that we have relatively few developers but lots of repositories, particularly since one…

Addsy
- 3,944
- 2
- 32
- 35
2
votes
1 answer
getting stats from a different branch
I'm using gitosis and gitstats to host some pvt code. Everything is working well, if you dont want to run stats on a branch other than master.
So, question is how do I:
set a branch for gitstats to use (does not seem possible)
or
set the 'default'…

dogmatic69
- 7,574
- 4
- 31
- 49
2
votes
1 answer
Heroku style GIT deployment for my own server
How can I install Heroku-style deployment using GIT (gitosis-admin tool)? I use Capistrano for my rails projects but I also have some PHP projects. I would like to setup automated GIT deployment for my projects where the deployment is executed when…

xpepermint
- 35,055
- 30
- 109
- 163
2
votes
1 answer
gitosis-init for 2nd user? (need to make a new owner for gitosis-admin)
Here's the situation:
We have a git repository, managed by gitosis. One user user managed the gitosis-admin repository (via git-init).
Now we need to add other users to access gitosis-admin, however the initial user's laptop died, so they do not…

Hisham
- 1,305
- 2
- 15
- 25
2
votes
2 answers
Git hook to update various web folders based on branch pushed to remote server
I am developing a web application using Gitosis (Debian Lenny) that I want to be able to push to different remote repos/locations thus allowing a "bleeding-edge", "release-candidate", & "production" version of the application with mirrored physical…

cka
- 93
- 1
- 7
2
votes
1 answer
How do i allow a second/third/etc.. computer to connect to my git server using ssh and gitosis?
I followed the guide here http://www.hackido.com/2010/01/installing-git-on-server-ubuntu-or.html
but I cannot find the proper way to import another ssh key so my other computers can clone and push the repos.
this code specifically sudo -H -u git…

user564448
- 387
- 3
- 9
2
votes
3 answers
Pushing a new repo to Gitosis
I just set up a gitosis server. Everything went well. I have been able to clone on my laptop the gitosis-admin project, configure gitconf, add a user and push everything.
But I get an access error when I try to push a new repository. I've tryied…

Gregory
- 557
- 6
- 17