Difference between revisions of "Git"

From Blue-IT.org Wiki

(HowTo)
Line 1: Line 1:
 
== HowTo ==
 
== HowTo ==
 
There are different ways to install git, [[#Gitolite|gitolite]], and e.g. [[#GitlabHQ|gitlabhq]] on Debian oder Ubuntu. Be sure to read [http://sitaramc.github.com/gitolite the comlete (!) gitolite documentation] before you proceed.
 
There are different ways to install git, [[#Gitolite|gitolite]], and e.g. [[#GitlabHQ|gitlabhq]] on Debian oder Ubuntu. Be sure to read [http://sitaramc.github.com/gitolite the comlete (!) gitolite documentation] before you proceed.
 
 
This article is mainly for Debian squeeze (6.0) server.
 
This article is mainly for Debian squeeze (6.0) server.
  
Line 10: Line 9:
 
# create a public or private repo
 
# create a public or private repo
 
# have http access via smarthttp or [[#GitlabHQ gitlabhq]]
 
# have http access via smarthttp or [[#GitlabHQ gitlabhq]]
 +
# install it manually or the "debian way" (apt-get)
  
Sources:
+
=== References ===
 
* [http://blog.muehlbachler.org/2012/01/how-to-install-a-private-debian-git-server-using-gitolite-and-gitlabhq/ How-To: Install a private Debian git server using gitolite and GitLabHQ]
 
* [http://blog.muehlbachler.org/2012/01/how-to-install-a-private-debian-git-server-using-gitolite-and-gitlabhq/ How-To: Install a private Debian git server using gitolite and GitLabHQ]
 
* [http://blogs.gentoo.org/tampakrap/gitolite-installation-with-gitweb-and-anongit-in-gentoo-and-debian/ Gitolite installation with gitweb and anongit in Gentoo and Debian]
 
* [http://blogs.gentoo.org/tampakrap/gitolite-installation-with-gitweb-and-anongit-in-gentoo-and-debian/ Gitolite installation with gitweb and anongit in Gentoo and Debian]
 
  
 
== GitlabHQ ==
 
== GitlabHQ ==

Revision as of 01:24, 13 January 2012

HowTo

There are different ways to install git, gitolite, and e.g. gitlabhq on Debian oder Ubuntu. Be sure to read the comlete (!) gitolite documentation before you proceed. This article is mainly for Debian squeeze (6.0) server.

Mainly this boils down to:

  1. should use gitolite anyway
  2. which username you like to use by default to access the server: git, gitolite, whatever
  3. which port to use for ssh
  4. create a public or private repo
  5. have http access via smarthttp or #GitlabHQ gitlabhq
  6. install it manually or the "debian way" (apt-get)

References

GitlabHQ

Fast, secure and stable solution based on Ruby on Rails & Gitolite.

Gitolite

Gitolite is the new framework around git. Easy project and user rights management.

Everything well documented online:

Gitosis

Is not activly maintained and developed any more. Use gitolite instead.