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
270
votes
29 answers

git push says "everything up-to-date" even though I have local changes

I have a remote gitosis server and a local git repository, and each time I make a big change in my code, I'll push the changes to that server too. But today I find that even though I have some local changes and commit to local repository, when…
ZelluX
  • 57,940
  • 18
  • 67
  • 104
139
votes
5 answers

gitosis vs gitolite?

I am looking for installing a git server to share projects with my team. I don't want to create a user account on the server with SSH access for each developer that needs a git access. It seems there is two concurrent solutions that cover this issue…
greydet
  • 5,259
  • 3
  • 27
  • 49
46
votes
10 answers

Gitosis alternative?

Are there alternatives to gitosis that are easier to use? I currently run gitosis on a Ubuntu server for my lab. We regularly add new users and repos. I find the gitosis.conf syntax non-intuitive, and if I make even a minor mistake the whole…
AndyL
  • 13,194
  • 14
  • 41
  • 70
40
votes
7 answers

git Warning: remote HEAD refers to nonexistent ref, unable to checkout

I'm trying to setup gitosis according to the instructions here. It works fine from my remote machine so the server seems to be setup fine but I'd also like to be able to do development on my gitosis server machine from a different user account (not…
srboisvert
  • 12,479
  • 15
  • 61
  • 85
31
votes
3 answers

Is it possible to use the same ssh private/public key pair on 2 machines to access a git repository?

I've recently setup an inhouse git repository server and have it up and running with gitosis installed as the management tool. Read only access is available via the git:// protocol and write access is available via gitosis using ssh public keys. I…
Lou
  • 1,434
  • 1
  • 15
  • 21
20
votes
11 answers

Gitosis requires password even though the public key is given

I'm confronted with some problems when trying to configure gitosis on my Archlinux http://wiki.archlinux.org/index.php/Setting_Up_Git_ACL_Using_gitosis I referred to this wiki article and successfully installed gitosis. $ sudo pacman -U…
ZelluX
  • 57,940
  • 18
  • 67
  • 104
17
votes
6 answers

Git Server Frustration (Gitosis, Gitolite, etc)

Please excuse the frustrating undertones as I have attempted to get this set up correctly multiple times to no avail (possibly and most likely due to my ignorance, but also likely due to the lack of thorough and concise documentation). I am trying…
Benny
  • 3,759
  • 6
  • 42
  • 81
16
votes
2 answers

How do I recover from pushing a gitosis.conf file with parsing errors due to line breaks?

I have successfully set up gitosis for an Android mirror (containing multiple git repositories). While adding a new .git path following writable= in gitosis.conf I managed to insert a few line breaks. Saved, committed and pushed to server when I…
Kasia
15
votes
4 answers

Setting Git for a team of 3 people?

The post aims to summarize all pieces of information to set up a closed repository for 3 people in a competition. Please, feel free to add a problem to the list which I have not noted. Please, add each answer to each question as a separate…
Léo Léopold Hertz 준영
  • 119,377
  • 159
  • 417
  • 655
13
votes
2 answers

git-merge with repository on local filesystem

For some context: I just upgraded Ubuntu which broke my existing gitosis installation (see here: bug #368895), and have just reinstalled gitosis from packages. I now want to migrate my whole config and set of repositories from the old gitosis…
Ben Hymers
  • 22,821
  • 15
  • 55
  • 79
12
votes
5 answers

Git/gitosis: How to check validity of user name and email?

I have installed git and gitosis and I need to add a check that the user name is valid when something is pushed into the repository. I reckon the pre-receive hook is the correct hook to place this, but I'm unable to find the real user name and…
Makis
  • 11,130
  • 10
  • 58
  • 70
12
votes
4 answers

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…
12
votes
3 answers

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…
Larry Cai
  • 45,222
  • 30
  • 104
  • 141
12
votes
4 answers

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…
zenna
  • 8,540
  • 10
  • 67
  • 100
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,439
  • 1
  • 13
  • 23
1
2 3
13 14