Skip to content

Instantly share code, notes, and snippets.

@wpalmer
Created September 6, 2011 14:24
Show Gist options
  • Save wpalmer/1197680 to your computer and use it in GitHub Desktop.
Save wpalmer/1197680 to your computer and use it in GitHub Desktop.
gitolite by inheritence
@system = server1-git-unlocked server2-git-unlocked
@dev = foo bar baz
@admin = reallyneatguy
# All internal developers and system accounts can read any repo, and internal
# developers have free-reign over their own personal branches
repo @all
R = @system @dev @admin
RW+ dev/USER/ = @dev
repo gitolite-admin
repo reallyneatproject
RW master = @admin
- master = @all
repo git-config
repo bashrc
repo phpmyadmin
repo test
# Unless something says otherwise, admins can read and write anything
repo @all
RW+ = @admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment