Home page Models Systems Tools IT staff References
Git is a version control system. We don't use git for version control, we use svn instead. Git is needed when setting up a development environemnt, to acquire some development tools, such as ffmpeg.
Git can also be used to interact with an svn repository. Doing so may require installing an additional package.
Git will probably already be installed on Ubuntu. Use git --version
to see if it is installed.
If not use sudo apt-get -y install gitk
, which is known to work on Ubuntu. If the apt-get command
doesn't work and there is no other binary package available then git needs to be installed from source.
Go to the git home page and follow the download link to download the source,
which will be a tar file. Extract it to any convenient directory. It should contain some instructions on how to
build and install it. We haven't had to build git from source as yet, so we have no experience with this procedure.
The git svn interface package, git-svn, can be installed using sudo apt-get -y install git-svn
Go to the git home page and follow the download link to download the Mac version. This will be a ".dmg" file. Open the file (mount it) and follow the instructions in the README file it contains. This will probably be to simply run an installer by double clicking the installer file.
Once installed you will need to add to your PATH the directory where the git executable resides, which is typically /usr/local/git/bin. Do this by adding the line "PATH=$PATH:/usr/local/git/bin" at the end of file .bashrc in your home directory (i.e. ~/.bashrc).
The procedure for installing the mac version of the git svn interface package is not known at this time.
General remarks about using git.