gitosis

Gitosis post-update wont run

Im running cygwin on a windows vista pc. Ive successfully installed sshd, configured, and built gitosis. I can remotely git clone the gitosis-admin.git repository, made a change to the config, committed and pushed back to cygwin machine successfully. However the post-update doesnt execute and the new repository (as specified in the conf...

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 be set to arbitrary values. Is there any way to associate user names and emails with thei...

strange behaviour of git

Hi, 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 (Connection refused) whats wrong? ...

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? ...

Git and Rails: ignore database.yml

Hi, 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 production machine. One mayor difference though is 'one' file: database.yml, which ...

2 way synchronization of in-house gitosis repositories server with Github repositories

We use gitosis as our local in-house shared repository and also have a private Github account that mirrors our local repository. If one does a git push to the in-house repository the post-update hook updates the Github repository. How can I make this two way without causing "loops"? I.e. if someone pushes to the Github repository, I wou...

Git: ignoring everything except directories

Hi, I have read this manual: http://www.kernel.org/pub/software/scm/git/docs/gitignore.html As I am working with gitosis, I rather use a .gitignore than explicit git commands. Thus says the manual: Of course, not tracking files with git is just a matter of not calling git add on them. But it quickly becomes annoying to hav...

Backup gitosis repositories with rsync?

I have a standard gitosis setup that I would like to backup using rsync. When I try: rsync -avz [email protected]:/home/git git_origin/ or rsync -avz --rsync-path 'sudo rsync' 192.168.0.2:/home/git git_origin/ It copes no repository files. Pretty sure it has to do with how the 'git' user has no password and complete ownership of all ...

Gitosis local filesystem clone

I set up gitosis on a server. Cloning and pushing from my laptop works fine. However, I want to make a local clone on the server using my user (not the git user). Gitosis seems to manage the file permissions by itself, making all repos unreadable by others. Is there some better way to get around this than just cloning via ssh to localhos...

gitosis: same user multiple machines

In git/gitosis a single ssh key is stored with the filename the same as user name. i.e. myusername.pub If I want to access a repository from many machines, must I make a new user from each location or is there a way to have multiple ssh keys for a single user. ...

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 of Git somewhere. I set up a Ubuntu box on the network at work to host our new Git repo...

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 through gitosis-admin. I also have unixutils, and they are in the windows path. But, Hudson ...

Is good idea to use gerrit to host the git repository instead of gitolite or gitosis ?

Originally I try to use gitosis to manage the git repositories in the company, and later notice gitolite is kind of enhancement of gitosis. And also I heard gerrit could be used for the same purpose, but from the description, gerrit is mainly used for code review. So which is the best way for setting up git server using gitolite (fo...

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 able to 'git clone' from the server(git user). What I want is to 'git clone' from 'git clon...

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 these could be set to anything at all by the "pusher". Now I realise that a single "push...

gitsosis, redmine, passenger: 'not a git repository' error

I installed gitosis and redmine and am running it through apache/passenger on CentOS. The problem is I cannot access the repositories through redmine. The error being "The entry or revision was not found in the repository. My repository is stored at /home/zenna/repositories/myproject.git The error (found in the apache logs) is "fata...

How do I get just the head from gitosis?

I have gitosis running on my server. My build system needs to get a copy of the code from gitosis. Right now I clone the whole repository, which takes a long time. How do I get just the head of a branch? (I've tried git archive, but can't seem to get an archive from gitosis.) Can I create an archive from a bare repository? ...

gitosis + git error: fatal: '/home/git/repositories/idea-generator.git' does not appear to be a git repository

I have tried to follow the instructions on how to use gitosis to manage my git projects. Other than one slight issue, I have installed gitosis successfully. The problem arises when I try to create my first git project (after having set-up and configured the project through gitosis). I get the following error when I push to the remote gi...

Gitosis Error: Receiving 'Read Access Denied' on previously accessible repository.

The Players I've been using git and gitosis for some months now, and am really loving both. Unfortunately, I have run into a problem accessing one of my projects with gitosis. The Set-Up I set up my git and gitosis installs on a hosted server account running Debian. I also set up four computers (two Ubuntu, two Windows) with separ...

Gitosis noob question - user / repo / ssh related

Hey guys. As a fresh git user, I tried to install git on a server following this guide. For... like 3 days in a row. Here was the problems: I followed that guide exactly. But when I came to 'Creating new repositories' section i was blocked. I simply can't understand how can you add users to a project. I mean, ok, I need a SSH key. B...