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
0
votes
0 answers

gitolite-admin and gitolite server on same machine

There's a somewhat similar question here, but it didn't solve my problem, so gere's the deal. I've created a gitolite server on my secundar machine, but I'm also hosting a web service there. My intention is that the web service can communicate with…
PBMartins
  • 5
  • 2
0
votes
0 answers

Git Reset --hard : file does not reflect on the server

After executing the command git reset --hard commitid and git push --force, and pushing some commits on the repo(Staging), the new commits does not reflect on the server. My colleagues were able to see my commits but the changes does not reflect on…
putoshop
  • 112
  • 3
  • 13
0
votes
1 answer

Literally removing git repository created by Gitolite on the server

I have created a repository called foo on a server using Gitolite. Now I am unable find out how to completely remove the repository from the server. It says in the official documentation that you have to log on to the server and do the dirty deed…
shyam
  • 1,348
  • 4
  • 19
  • 37
0
votes
1 answer

gitolite/git: how can I automatically populate the git pre-commit/pre-push hook

I would like to automatically populate the .git/hook/pre-push/pre-commit file with custom content whenever someone clone my repositories. How can I achieve that ?
Roberto Martelloni
  • 587
  • 1
  • 5
  • 17
0
votes
1 answer

Gitolite denies access to a repo while allowing another

I have gitolite up and running and I work with it from multiple machines for quite a while. Therefore there are several of my 'rob' keys in gitolite-admin. These days from this machine are awkward: Part of my gotolite.conf repo ProPro…
Robetto
  • 739
  • 7
  • 20
0
votes
1 answer

Git repository turned read only after gitolite migration

[I found the solution and describe it in my reply] I migrated my gitolite server a while ago and upgraded from gitolite 2 to gitolite 3 in the same time. I just realized that while all repositories are working to fetch data, when trying to push on…
Fred Tingaud
  • 740
  • 1
  • 6
  • 11
0
votes
1 answer

Gitolite support "public repository" authority?

Recent research in Git, I encounter a problem : If I want a repository open to the public (no ssh key, only you can clone), Gitolite can do it?
tian
  • 19
  • 2
0
votes
1 answer

How to setup gitolite and gerrit on separate ubuntu servers?

I would like to setup gitolite on one ubuntu server. This gitolite is used to host git repositories. I would like to setup gerrit on different ubuntu server and it uses git repositories hosted on gitolite server. Is it possible? If yes, please…
Rakesh
  • 1
0
votes
1 answer

Is there an augeas lens, that can edit perl hash like in .gitolite.rc?

I want to edit the gitolite3`s configuration file, which is written in perl, and looks like that: # comments # comments %RC = ( # ------------------------------------------------------------------ # comments UMASK …
Adam Ryczkowski
  • 7,592
  • 13
  • 42
  • 68
0
votes
1 answer

Gitolite on Windows - cloning stuck

I have installed gitolite on windows server using cygwin, installation steps went without problems and when I try to "ssh gitadmin@gitserver info" from local machine(windows) I get the correct response: hello gitoliteAdmin, this is…
Geekete
  • 17
  • 2
0
votes
1 answer

git push to var/www/application

My friends and I want to make a website using the CodeIgniter PHP framework. We rent a VPS which runs Cent OS 6.4. As we developed the website, we met a problem: After user A changed something in var/www/application, A must inform B and C that he…
Zeyu Wang
  • 65
  • 9
0
votes
1 answer

gitolite permissions: what does the 'C', 'D' and 'M' options do?

The documentation wrongfully (in my mind) assumes that the reader should be familiar with all the possible permissions combinations: The full set of permissions, in regex syntax, is -|R|RW+?C?D?M?. This expands to one of -, R, RW, RW+, RWC, RW+C,…
coderatchet
  • 8,120
  • 17
  • 69
  • 125
0
votes
0 answers

Gitolite hook to check and deploy

For my nodejs application, I am trying to run a hook through gitolite which performs the following actions (on the server side): Update the repo to take into account the new changes (git fetch + git reset --hard newref) Update the application…
Ervadac
  • 936
  • 3
  • 9
  • 26
0
votes
2 answers

GIT: failed to push some refs to 'user@server:repositories/project.git'

GIT home dir on server is /srv/gitolite with following configuration: user@server:~/repositories$ ls -al /srv/gitolite/repositories/ total 20 drwxr-x--- 5 gitolite gitolite 4096 Feb 12 21:23 . drwxr-x--- 8 gitolite gitolite 4096 Feb 12 21:23…
martin
  • 101
  • 2
  • 8
0
votes
1 answer

Setting up gitolite: FATAL: R any gitolite-admin gitolite denied by fallthru

I'ved tried what I've found here: This question And this question I've generated my ssh keys with: ssh-keygen -t rsa -f gitolite I then copy them to gitolite server scp gitolite.pub git@my-server.com:gitolite.pub After that I setup gitolite on my…
cgasser
  • 603
  • 2
  • 11
  • 24
1 2 3
44
45