Questions tagged [gitosis]

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.

202 questions
12
votes
3 answers

Git post-receive hook not working

We're using git with a central repo (using Gitosis). I've created a post-receive hook to generate an email to the dev mailing list whenever changes are pushed to the central repo, and to generate documentation from the documentation folder in the…
Silas Snider
  • 1,460
  • 1
  • 14
  • 23
12
votes
3 answers

grep for stuff in multiple git repositories

So I've inherited a fairly large code base from some other developers, with code stored in various git repositories. Sometimes, it's hard to know which project a particular piece of code might lie in, or if that piece of code even exists in…
jdeuce
  • 1,706
  • 3
  • 14
  • 20
10
votes
4 answers

Using gitosis to specify permissions per branch?

With gitosis, is it possible to specify write permissions so that users can push freely to branches with their own name, but not merge with the master? E.g. $USER/test1 .. $USER/test5 This mean you could host just one repository per project, rather…
Alexandra Franks
  • 2,982
  • 1
  • 19
  • 23
10
votes
5 answers

Connecting to gitosis server through an SSH tunnel

I've got an SSH tunnel setup on my macbook, like this... $ ssh -o ServerAliveInterval=3 -N -L 22222:gitosis-server:22 user@firewall.domain.com So I can ssh to localhost:22222 and will end up on the gitosis-server behind the firewall. I've created a…
Matt Mencel
  • 285
  • 3
  • 11
10
votes
5 answers

password problem with git clone gitosis@host:gitosis-admin.git

I'm confronted with some problems when trying to configure gitosis on Ubuntu. When i run this command git clone gitosis@host:gitosis-admin.git For my local machine i used git clone git@59.80.70.68:gitosis-admin.git where 59.80.70.68 is the ip of…
rama
9
votes
2 answers

git clone localhost?

I am not big into ubuntu, but I managed to set up git on my client and gitosis on the server which I am proud of. I added my local ssh public key to the authorized keys for gitosos and can clone, push, commit etc. Everything works fine, from my…
Mike
  • 2,686
  • 7
  • 44
  • 61
9
votes
1 answer

Generate valid openssh ssh key under windows

I've some persons that are under windows, and they need a public/private RSA keys pair in order to get them authenticated to gistosis, a GIT server. We use SmartGit as our GIT GUI, and this tool require the private key to be in the format of…
FMaz008
  • 11,161
  • 19
  • 68
  • 100
8
votes
5 answers

Git and Rails: ignore database.yml

I finally made a great step by abandoning SVN for Git and loving it. It must be somewhere, but I can't really find on how to do this, gitosis friendly. I have my repo 'site' stored on a remote machine. I push my working copy and pull this data on a…
Shyam
  • 2,357
  • 8
  • 32
  • 44
7
votes
2 answers

pip install from a gitosis

I have working gitosis repo. If I do git clone git@server:repo.git it clones the repo correctly. However, it does not work if I do: git clone ssh://git@server:repo.git Cloning into repo... ssh: connect to host port 22: Connection refused fatal:…
Hernan
  • 5,811
  • 10
  • 51
  • 86
7
votes
4 answers

How to write or package a Git server as a Java Servlet or Java webapp?

Git is clearly awesome and a variety of clients are both available and easy to install for all platforms. However it's a bit of a challenge to get a Git server up and running for teams. I'm a bit surprised that there is not yet an easily…
Brendan
  • 408
  • 7
  • 8
6
votes
2 answers

How to find out or change url for Git Repository server

I've installed Git and Gitosis on Ubuntu server which has 3 domain names parked. How do I know, which of these domain names are used by Git to construct Git access url, like for example, this: git@xxxxxxxx/repository.git Where can I set up this…
Timus83
  • 681
  • 4
  • 12
  • 24
6
votes
3 answers

Git Log History

One thing that is important with version control is knowing who made what change. If something was changed and I had no idea why the change was made, I would look in the history and ask the person who made the change. As I am exploring git, one…
ryanzec
  • 27,284
  • 38
  • 112
  • 169
6
votes
7 answers

gitosis asking for password

I have setup a gitosis server following instructions from here. It works fine for the initial user but I have recently added a new user. Here are the steps I took. Created an rsa keypair using ssh-keygen with filename johndoe. Then copied it to the…
andho
  • 1,166
  • 1
  • 15
  • 27
5
votes
2 answers

How to include ssh private rsa key when accessing git repo via ssh (gitosis)?

At this moment I've got one git repo added through gitosis. The manual i used is http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way I can clone it and push in it via ssh auth with private and public keys (on gentoo), but…
tijagi
  • 1,124
  • 1
  • 13
  • 31
5
votes
1 answer

Git create repos on the fly?

Is it possible to allow for a user to push new GIt repos without having to manually add them to the gitosis.conf every time?
npiv
  • 1,837
  • 15
  • 24
1
2
3
13 14