GIT? Was’n das?
Git ist ein Versionskontrollsystem, ähnlich wie das bekannte CVS bzw. dessen Nachfolger “Subversion”.
Der große Vorteil von “git” ist die hervorragende Unterstützung von “Branches”, etwas was ich mit CVS/Subversion immer nur ziemlich rudimentär hinbekommen habe.
Hier nun die Installation auf einem älteren SuSE-System:
1) Sourcecode von http://git.or.cz
cd /usr/local/src
aktuell: wget http://kernel.org/pub/software/scm/git/git-1.5.4.4.tar.bz2
2) auspacken
tar xjvpf git-1.5*
cd git-1.5*
./configure
make
make install
It’s that simple
Allerdings: Wenn Ihr mit einem nicht lokalen Repository arbeitet _muss_ die gleiche Prozedur auch auf dem Rechner mit dem Repository stattfinden (also wget, tar, configure, make, make install)
Sonst gibt’s immer ein freundliches:
git clone ssh://user@HOSTNAME/fileserver/git/REPOSITORY
Initialized empty Git repository in /home/jrelease/REPOSITORY/.git/
bash: git-upload-pack: command not found
fatal: The remote end hung up unexpectedly
fetch-pack from ‘ssh://user@HOSTNAME/fileserver/git/REPOSITORY’ failed.
