Questions tagged [gitolite]

Gitolite is software to manage a collection of Git repositories on a server accessible by SSH, without creating local accounts for the users. It provides per-branch control over read, write, and rewind/delete operation. It can also permit on-demand repository and branch creation, and allows delegating permissions administration to users.

Gitolite is an open source software to manage a collection of Git repositories on a server accessible by SSH, without creating local accounts for the users. It provides per-branch control over read, write, and rewind/delete operation. It can also permit on-demand repository and branch creation, and allows delegating permissions administration to users.

What is gitolite?

Gitolite is an access control layer on top of git. Here are the features that most people see:

  • Use a single unix user ("real" user) on the server.
  • Provide access to many gitolite users: they are not "real" users, so they do not get shell access.
  • Control access to many git repositories: read access controlled at the repo level, and write access controlled at the branch/tag/file/directory level, including who can rewind, create, and delete branches/tags.
  • Can be installed without root access, assuming git and perl are already installed.
  • Authentication is most commonly done using sshd, but you can also use "smart http" mode if you prefer (this may require root access to setup).

See its official documentation at gitolite.com.

673 questions
507
votes
19 answers

Specify an SSH key for git push for a given domain

I have the following use case: I would like to be able to push to git@git.company.com:gitolite-admin using the private key of user gitolite-admin, while I want to push to git@git.company.com:some_repo using 'my own' private key. AFAIK, I can't solve…
Confusion
  • 16,256
  • 8
  • 46
  • 71
145
votes
8 answers

How to tell git to use the correct identity (name and email) for a given project?

I use my personal laptop for both work and personal projects and I would like to use my work email address for my commits at work (gitolite) and my personal email address for the rest (github). I read about the following solutions which are all…
Martin Jambon
  • 4,629
  • 2
  • 22
  • 28
141
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,509
  • 3
  • 31
  • 51
87
votes
4 answers

How do I rename a Git repository created with gitolite?

I created a Git repository using gitolite. Now I would like to rename that repository. How can I do this? In gitolite's readme is says that I should not work directly on the server. But I guess I have to do some work on the server in this case,…
Patrick
  • 3,091
  • 4
  • 26
  • 29
75
votes
7 answers

No refs in common and none specified; doing nothing

I had a local git project that I wanted to add to gitolite. Apparently this is hard so I abandoned the idea. I created a new gitolite repo by adding it to gitolite-admin/conf/gitolite.conf and committing and pushing the changes. Then I cloned the…
Noah
  • 4,601
  • 9
  • 39
  • 52
61
votes
3 answers

Deleting Git Repository Gitolite?

I am wondering what the proper way is to delete a repository when using gitolite. Is there anything else I have to do besides delete the repository from the server and remove all configurations related to the repository I am removing?
ryanzec
  • 27,284
  • 38
  • 112
  • 169
59
votes
2 answers

Which is the best git hosting sw? - Gitolite vs. Gitlab vs. Gitorius

I am looking for a git hosting environment for several users. Therefore i've searched for comparisons between Gitolite, Gitlab and Gitorius. But i get nothing what could be useful. Is there anybody, who has experiences with different hosting tools…
user2451418
  • 1,387
  • 4
  • 15
  • 27
38
votes
8 answers

Gitolite One User - Many Keys - Different usernames

I have set up gitolite hopefully as per the instructions, and everything is working as planned. I am slightly unsure as to how the usernames part works, and looking through the docs hasn't helped me - perhaps I'm missing something simple. If I…
Adam
  • 5,091
  • 5
  • 32
  • 49
25
votes
3 answers

gitolite: PTY allocation request failed on channel 0

Both jenkins (the ci-server) and my git repository are hosted on the same server. The git repo is controlled by gitolite. If I access the repository from outside, for instance from my workstation I get ssh git@arrakis PTY allocation request failed…
simou
  • 2,467
  • 4
  • 30
  • 39
20
votes
5 answers

SSH Key asks for password

I stuck here now for like 2 Days a week. I've got a CentOs machine with Gitlab4 and gitolite. Everything worked fine for weeks, but suddenly last weekend something strange happend quite all binaries disappeared from the mashine ( like yum, python,…
Mario
  • 3,339
  • 2
  • 22
  • 41
19
votes
1 answer

Easy way to setup GitLab with existing Gitolite configuration

I have an existing Gitolite configuration with many users and repositories. It is setup in the default way as the Gitolite installation guide suggests. Now I would like to add GitLab to be able to do code reviews and bug tracking. What's the most…
mattmilten
  • 6,242
  • 3
  • 35
  • 65
18
votes
3 answers

git, gitolite error push

I just installed gitolite but when I push on the repository gitolite-admin I get an error: git push Counting objects: 9, done. Delta compression using up to 2 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (7/7), 605 bytes,…
buffle
  • 197
  • 1
  • 2
  • 7
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,899
  • 8
  • 46
  • 81
17
votes
2 answers

git push origin DENIED by fallthru, hook declined: gitolite

I am having a problem pushing with git using Gitolite. When I try this: git push origin :refs/tags/deployment I get this error: remote: D NAME/install.py repos michael DENIED by fallthru remote: error: hook declined to update…
teak
  • 171
  • 1
  • 1
  • 3
16
votes
2 answers

Adding users to Gitolite

I'm trying to setup Gitolite but I'm running into a weird issue: When I add a new public key file for a new user (say raphaelcruzeiro.pub), giolite sends me the following warning on push: remote: remote: ***** WARNING ***** remote: …
Raphael
  • 7,972
  • 14
  • 62
  • 83
1
2 3
44 45