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
5
votes
2 answers
gitosis change server
I installed a fresh instance of gitosis, and also have an old one.
What do I have to do to move the repos from the old to the new server? Clone on the new server?
What do I have to change on the developer computers, to switch the remote branch? Or…

GreenRover
- 1,486
- 1
- 14
- 33
5
votes
3 answers
Git keeps asking for password
I've searched and searched, for what seems like hours, for a solution to this problem and nothing I've tried works. Let me preface all this by saying that while I've used *nix before, I'm pretty much a noob so I'm sure I missed a step in the setup…

user64718
- 827
- 3
- 9
- 22
5
votes
1 answer
Authenticating Gitweb with Gitosis without LDAP Auth?
I found your article using Apache Auth with gitweb, gitosis.
I was wondering if there was a way to do this if I wasn't using LDAP for authentication. We currently have a very large NIS domain which we use for authentication on all unix servers.
We…

Chris
- 51
- 1
- 3
5
votes
4 answers
gitosis did not generate projects.list automatically, gitweb can't work
I setup a gitosis managed git server.
git clone is ok.
but when I set gitweb via gitweb.conf as below:
$projectroot = "/srv/gitosis/repositories";
$git_temp = "/tmp";
$home_text = "indextext.html";
$projects_list =…

Readon Shaw
- 365
- 1
- 4
- 7
5
votes
1 answer
Gitosis and ssh keys - does the email address have anything to do with the git email address?
I'm trying to set up gitosis on a server. I was just wondering one thing, my ssh key has my gmail address at the end, because I was originally using it for github. For this new project on the server I'm setting up, I want to use my email address for…

Ibrahim
- 1,883
- 19
- 27
4
votes
1 answer
How to gain shell access when I'm locked out with "PTY allocation request failed on channel 0"
I installed gitosis on a remote shell. It's working fine. But now I can't login to the interactive shell. As told here, it seem gitosis disabled tty. Is there anyway I can get it back? I don't have root access to the remote server.

SparrowG
- 221
- 1
- 4
- 13
4
votes
2 answers
Make gitosis-admin git repository secure
I installed gitosis on my Ubuntu 10.4 Server via
apt-get install gitosis
Then I initialized the admin repository with
sudo -H -u gitosis gitosis-init < nameOfThePublicKeyFile
After this I thought that it the admin repository is only…

Benjamin Groener
- 153
- 1
- 9
4
votes
2 answers
Post-receive hook for gitosis
I'm running Gitosis and want my committed work to be staged in my html directory.
I was trying to use this approach to set GIT_WORKING_TREE to my html directory, but I'm getting the error remote: fatal: This operation must be run in a work tree. I…

Nona Urbiz
- 4,873
- 16
- 57
- 84
4
votes
3 answers
Preventing git push from sending entire repo if not up-to-date
Related question: why does Git send whole repository each time push origin master
The short version: When working with two Git repositories, even if 99% of the commit objects are identical, using git push to send a commit to repository B when origin…

Blair Holloway
- 15,969
- 2
- 29
- 28
4
votes
1 answer
Problem with Hudson + Git + Gitosis on windows
I have git and gitosis running smoothly on windows with msysgit (with OpenSSH),
and I would now like Hudson to start using git.
So, I have ensured that the hudson windows service is running as the
hudson user, and I have added the hudson user…

Jacko
- 12,665
- 18
- 75
- 126
4
votes
2 answers
Gitosis: setting repository config variables
Is there a way to set repository config variables through the gitosis conf instead of going into each repository and editing the conf values directly?

readonly
- 343,444
- 107
- 203
- 205
4
votes
3 answers
git-shell equivalent of svnserve -r?
I'm trying set up a git repository on a shared hosting account that can be accessed by both me and a friend. I have successfully done this with a Subversion repository by adding this line to ~/.ssh/authorized_keys:
command="/usr/bin/svnserve -t -r…

Jimmy
- 35,686
- 13
- 80
- 98
4
votes
3 answers
How does Github, Gitlab, Gitosis, etc.. knows which user is logged in?
I asked myself, how do those git-hosting tools/sites know which user is logged in.
I mean, you login via SSH git@github.com/...
and this means you login as user git
and the only information that securely identifies you as your real user is your…

El Hocko
- 2,581
- 1
- 13
- 22
4
votes
3 answers
Why I can't add new repositories using gitosis?
I set up gitosis but even when i can clone, pull and push to the gitosis-admin repo, i can't create new ones.
According to every doc i read, to create a new repo one has to:
Give user write access to the repo (inside a group put: writable =…

Cesar
- 4,076
- 8
- 44
- 68
4
votes
5 answers
Gitosis not updating server configuration after push of configuration changes
I've set up gitosis using the tutorial privided at:
http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
I found that I was unable to push and create a new repository after adding the appropriate permissions in the…

Bryan
- 1,431
- 1
- 14
- 19