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
1
vote
0 answers

issue in gitolite

I have installed the gitolite in the a machine which act as a git server. I have cloned that gitolite in my local machine. Configured some repositories and user rights. While making any changes in the gitolite.conf and pushing it, the changes are…
thillaiselvan
  • 637
  • 6
  • 18
1
vote
1 answer

Gitolite: git push origin master fails with "fatal: The remote..."

We have a new gitolite server where I work, and I'm having trouble push a repo to the server. I cloned the conf file, added my repo, then pushed it back. After confirming that the empty repo is there I clone the repo to my computer. I get an error…
tshauck
  • 20,746
  • 8
  • 36
  • 36
1
vote
1 answer

Gitolite hooks do not execute

I'm attempting to create a script to chmod the repo files to a new group after a push occurs. To test hooks, I created a hook that creates a file in /tmp/ just to check that the hook is working. It is not however. What I've done so far: First I…
Jason Kaczmarsky
  • 1,666
  • 1
  • 17
  • 30
1
vote
1 answer

Git - Gitolite - Cloning

I have recently set up Gitolite on my serveur. Everything works well. So I push a new repo on the server, and clone it on another machine to test it. No errors. I then try to clone it on my server (the same server where Gitolite is installed but…
LBridge
  • 2,135
  • 5
  • 21
  • 32
0
votes
1 answer

Chmod on Git Post-Receive

I've just got my first VPS & have set up NGinx, Ruby, Rails & Gitolite. I can push and pull fine. However, once I push when I visit the URL I get a 403 forbidden error. The files locally are 755 but it seems Git is not storing those. I've found a…
Jack Franklin
  • 3,765
  • 6
  • 26
  • 34
0
votes
2 answers

Trying to install Gitolite and running into File::Path module issue

Trying to install Gitolite on a Media Temple DV server following these instructions. As soon as I get to the gitolite/src/gl-system-install line I receive this error: "make_path" is not exported by the File::Path module Can't continue after import…
Brandon Durham
  • 7,096
  • 13
  • 64
  • 101
0
votes
1 answer

Gitolite hook doesn't work

I've set a GIT server on Windows with Cygwin and gitolite as it's described in the article. On a client Windows machine I use TortoiseGit. Right after the setup everything works ok. I can clone gitolite-admin repository with TortoiseGit using my SSH…
alexey
  • 8,360
  • 14
  • 70
  • 102
0
votes
1 answer

gitolite: effective permissions per branch

When I run ssh git@host repo I receive list of my permissions It says I have RW access to entire repo , while I have RW access to all but one branch Are there any way to view branch permissions using gitolite? Maybe this is possible via …
jonny
  • 1,326
  • 9
  • 44
  • 62
0
votes
1 answer

how do I deploy my site from my gitolite repo on the same server?

I am using Sinatra, Vlad the Deployer, and Gitolite trying to deploy a test site to my server. My gitolite installation is working fine as far as managing/creating repos, push and cloning etc., but when I try to deploy via Vlad to my server, I keep…
Jon Rose
  • 1,457
  • 1
  • 15
  • 25
0
votes
2 answers

how do I disable pam authentication for gitolite user

I have gitolite setup on a RHEL linux host. It is functional and it's doing its job of accepting ssh keys. I've instructed my users to use tortoisegit as the management tool of their repositories. This is because tortoisegit comes with a ssh key…
paxamus
  • 127
  • 1
  • 8
0
votes
1 answer

gitolite broken: pull is not possible

Some filenames with unicode characters being passed between Windows and *nix have caused some weirdness with gitolite. This led to files not being able to be ignored/removed from cache, which made merges/rebasing impossible. I added the directory…
Nic
  • 13,287
  • 7
  • 40
  • 42
0
votes
1 answer

Setting up git commit hook for Redmine

I am trying to migrate the setup here at the office from SVN to Git and am setting up Redmine as the host for our projects and issue management (Currently we use a version of Gforge + SVN). I should preface by saying that I'm an embedded C software…
Lncn
  • 91
  • 1
  • 5
0
votes
2 answers

how to migrate from git-svn to gitolite and retain history

We have been using SVN and slowly the developers have been migrating to git-svn. Now we're ready to make the plunge and completely move to git (using gitolite). I am not sure how to migrate our repository into gitolite and maintain history. I…
Yehosef
  • 17,987
  • 7
  • 35
  • 56
0
votes
1 answer

ssh-keys generation issue for dynamic-ip changing workstations for Gitolite usage

I want to use Gitolite for Git access control. My question is on ssh keygen for dynamic IP changing workstations. So, do I need to generate ssh keys every time whenever my IP changes. This going to be tedious work for all developers as they use…
Srinivas
  • 321
  • 2
  • 5
  • 18
0
votes
3 answers

Install Gitosis without creating a new user

I have an ssh account but do not have root access and hence cannot create a new user. Is it possible for me to install gitosis or gitolite on this account? If not, is there any other git server that I can install without root access? Edit: My issue…
SparrowG
  • 221
  • 1
  • 4
  • 13