8 ways to share your git repository








See http://www.jedi.be/blog/2009/05/06/8-ways-to-share-your-git-repository/ for more detail.
RepositoryProsConsControlling AccessCreate Repositories
File shareNo network access requiredNot internet friendlyUsing filepermissionsNeeds preparation per project on the share
Git daemonFast git protocolNot internet friendly portno good permission control. Read by default, Write can be enabled , but only anonymousper project needs to be blessed
Plain SSH serverAllows good securityNot internet friendly port, requires account creation per user on server Uses filepermissionsper project inited
SSH server git-shellEnhancement of Plain SSH Server scenarioNot internet friendly port, requires account creation per user on serverUses filepermissionsper project inited
GitosisAdds good remote management of users and repositories, only requires one system accountNot internet friendly portUses gitosis-config fileNo server initalisation, only config is needed
Apache httpFalls back to standard apache config, only requires one system account, internet friendlySlightly overheadUses htpasswdper project inited
Apache http + gitwebFalls back to standard apache config, only requires one system account, internet friendly, adds nice view of repository Slightly overhead, read-only accessUses htpasswdper project inited
githubInternet accessible, easy to use webinterfaceHosted externallyManaging sshkeysWeb interface



No comments:

Post a Comment