Ayuda de Instalación
Si usted ya tiene Git instalado (muchas distribuciones nuevas de linux vienen con git), puede obtener la ultima version de desarrollo via el mismo Git usando los siguientes comandos:
git clone git://git.kernel.org/pub/scm/git/git.git
- If you have problems connecting (Git uses port 9418), you can try to access the repository over the HTTP protocol (this method is considerably slower but works even behind firewalls and such):
git clone http://www.kernel.org/pub/scm/git/git.git
The latest install directions are included with git under INSTALL and the most current version online is here.
Git can be obtained by using the Cygwin system and installing Git from within Cygwin. More info at CygwinBinaryInstall. Another convenient choice is msysGit. If you would like to help develop Git on windows you need to install the Git Development Environment for Windows. Running Git on Windows is working already, but it is recommended only to users who can fix issues themselves, because there are not enough developers in that project yet to take care of all issues.
If you have the main development team on linux/unix, and peripheral developers or translators on Windows, consider using
git-cvsserver to give those users read or read/write access to the GIT tree via the CVS protocol. Committers using
git-cvsserver have some limits: they cannot branch, tag or merge. On the other hand, git-cvsserver works well with Eclipse, TortoiseCVS and other easy-to-use CVS clients. You could also set up a SVN repository and use git-svn to achieve the same thing as using CVS.
- EclipseIDE-based GIT client, based on a pure Java implementation of GIT's internals.
- Windows Explorer extension (Git-Cheetah)
- Git Extensions for Windows and Visual Studio (http://sourceforge.net/projects/gitextensions/)
- Tortoise Git is installed as an extension to the Windows Explorer
Git for the OS X is installed by using the git-osx-installer but if you haven't got Leopard you're screwed because there aren't any install scripts and the source won't compile.
Alternatively, you can install Git via MacPorts or Fink. Both work with Tiger, but may pull in a couple of dependencies. With MacPorts, be sure to check out possible extra features with
port variants git-core; for example, to install Git with bash completion use
sudo port install git-core +bash_completion.
Another option for Git installation for users running OS X 10.5 or higher on an Intel machine is the Homebrew package manager. Installation is as simple as
brew install git.
Debian / Ubuntu
If you want to build deb packages from upstream Git sources yourself (because the official debs are too old or you want to try some patch, whatever), you could try: http://repo.or.cz/w/gitcj-debian.git
Getting and installing documentation
You can find all the plain text documentation in the git source tree's Documentation/ directory.
In order to build the HTML version of the documentation you need to have AsciiDoc version 7.0 or greater installed. Man pages also require that xmlto is installed.
To build and install documentation from the git source code simply run:
$ make install-doc
If you want to avoid having to install the documentation tools, autogenerated documentation is available in separate tarballs from:
beginning with the 1.4.0 version, as:
Also, many distributions bundle pregenerated documentation with either the git-core package or in a separate git-doc package.
If you already track development in the public git project repository, you may also choose to fetch the autogenerated HTML and man pages from the
man branches. Read INSTALL for more detailed documentation (at the end of the file). Once you have fetched the branches, you can use:
$ git tar-tree man > git-man.tar $ git tar-tree html > git-html.tar
to easily extract the documentation.
For people on OS X (and on distributions that do not manage XML catalog files automatically), write-up by Steven Grimm may be helpful: http://article.gmane.org/gmane.comp.version-control.git/35565