gitolite code access control

gitolite can be used to control code access, a summary here git -related content.

  1. Quick Start git : Create a git repository
  2. TortoiseGit : Visualization operation git
  3. egit eclipse plug-in : The new version of the IDE has been providing support git
  4. the commit POST : Code commit hook, can automatically trigger a subsequent action
  5. git read-only protocol : Support git: // protocol and http: // protocol for accessing
  6. Archive git : Export and compression, more conducive to the transmission network
  7. multi-warehouse push git : git can push to a plurality of addresses

gitolite Installation Notes:

  1. Need to clone gitolite project, if you download the zip package would be more trouble (gitolite / install error)
  2. Git user runs using ssh-keygen, then the choice of key replacement administrator git .ssh / id_rsa.pub content of
  3. Use git cloned or native user management items: git clone [email protected]: gitolite-admin

git access:

  1. ssh protocol: [email protected]: /soft/gitrepos/sample.git // require a password or key
  2. gitolite management: [email protected]: testing.git // use gitolite-admin permissions control
  3. http protocol: http: //git.xlongwei.com/git/sample.git // nginx forwards need to run git update-server-info when an error
  4. git protocol: git: //xlongwei.com/sample.git // need to run git-daemon

Guess you like

Origin www.cnblogs.com/xingqi/p/11735742.html