git - gitosis vs gitolite? -
i looking installing git server share projects team. don't want create user account on server ssh access each developer needs git access. seems there 2 concurrent solutions cover issue : gitosis & gitolite.
i not find comparison between both solutions. main differences between them? there other similar solution?
i looking installing git server share projects team.
you can just use git.
to have git server thing need on remote server git. if don't require fine-grained permissions (sharing team suggests that's possibility) or features, don't need gitolite, or similar.
the no-install solution
if git available on remote server, can you're asking right now, without doing anything
ssh [user@]server cd repos/are/here/ mkdir project.git cd project.git git init --bare locally:
cd projects/are/here/project git remote add origin [user@]server:repos/are/here/project.git git push -u origin master setting git server easy.
if want things dedicated git user, docs setting git server short - because quite easy do.
in summary:
- install git
- create user named git
- add , team's public keys git user's
.ssh/authorized_keysfile - change git user's shell
git-shell - create repos on server
- start git pull/pushing git@yourserver.com
the only difference between using dedicated git user , not, if setup git user use git-shell won't allow else. in terms of acting git server though, it's identical no-install solution
Comments
Post a Comment