Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitolite #36

Open
uniquejava opened this issue Apr 3, 2016 · 0 comments
Open

gitolite #36

uniquejava opened this issue Apr 3, 2016 · 0 comments

Comments

@uniquejava
Copy link
Owner

安装:
http://johnathanmarksmith.com/git/gitolite/linux/2013/05/23/how-to-install-gitolite-on-linux
http://www.cnblogs.com/hupengcool/p/3919201.html

配置见官方文档:
http://gitolite.com/gitolite/install.html#qi

使配置生效:
./bin/gitolite compile

详见该命令的帮助文档,如下:

-sh-4.2$ pwd
/home/git/bin
-sh-4.2$ ./gitolite

Usage:  gitolite [sub-command] [options]

The following built-in subcommands are available; they should all respond to
'-h' if you want further details on each:

    setup                       1st run: initial setup; all runs: hook fixups
    compile                     compile gitolite.conf

    query-rc                    get values of rc variables

    list-groups                 list all group names in conf
    list-users                  list all users/user groups in conf
    list-repos                  list all repos/repo groups in conf
    list-phy-repos              list all repos actually on disk
    list-memberships            list all groups a name is a member of
    list-members                list all members of a group

Warnings:
  - list-users is disk bound and could take a while on sites with 1000s of repos
  - list-memberships does not check if the name is known; unknown names come
    back with 2 answers: the name itself and '@all'

In addition, running 'gitolite help' should give you a list of custom commands
available.  They may or may not respond to '-h', depending on how they were
written.

-sh-4.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant