<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linux-xtensa.org/index.php?action=history&amp;feed=atom&amp;title=Installing_GIT</id>
	<title>Installing GIT - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linux-xtensa.org/index.php?action=history&amp;feed=atom&amp;title=Installing_GIT"/>
	<link rel="alternate" type="text/html" href="http://wiki.linux-xtensa.org/index.php?title=Installing_GIT&amp;action=history"/>
	<updated>2026-05-05T02:28:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>http://wiki.linux-xtensa.org/index.php?title=Installing_GIT&amp;diff=127&amp;oldid=prev</id>
		<title>Marc: Describe how to install GIT in a separate page</title>
		<link rel="alternate" type="text/html" href="http://wiki.linux-xtensa.org/index.php?title=Installing_GIT&amp;diff=127&amp;oldid=prev"/>
		<updated>2008-02-01T02:14:29Z</updated>

		<summary type="html">&lt;p&gt;Describe how to install GIT in a separate page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Installing GIT on your system =&lt;br /&gt;
&lt;br /&gt;
To work with the latest development sources, you need&lt;br /&gt;
the [http://git.or.cz/ &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt;] source control package.&lt;br /&gt;
&lt;br /&gt;
== Download and install the &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; source control tools ==&lt;br /&gt;
&lt;br /&gt;
The usual way to get the very latest version of &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; is to&lt;br /&gt;
browse the [http://git.or.cz/ official GIT web site] for a recent&lt;br /&gt;
source package and follow the instructions to install.&lt;br /&gt;
&lt;br /&gt;
However, here are a few possible shortcuts.&lt;br /&gt;
&lt;br /&gt;
First determine whether you already have &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; installed.  Try:&lt;br /&gt;
&lt;br /&gt;
   $ git&lt;br /&gt;
&lt;br /&gt;
which outputs a help page if &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; is installed properly.&lt;br /&gt;
&lt;br /&gt;
On Fedora Core 6 (FC6) and similar Linux host distributions,&lt;br /&gt;
you can use &amp;lt;tt&amp;gt;yum&amp;lt;/tt&amp;gt; to find and install a working version of &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
   $ sudo yum install git&lt;br /&gt;
&lt;br /&gt;
On FC3, &amp;lt;tt&amp;gt;yum&amp;lt;/tt&amp;gt; doesn&amp;#039;t know about git, so you have to do something like:&lt;br /&gt;
&lt;br /&gt;
   $ cd /tmp&lt;br /&gt;
   $ lwp-download http://kernel.org/pub/software/scm/git/git-1.5.3.1.tar.bz2&lt;br /&gt;
   $ tar xfj git-1.5.3.1.tar.bz2&lt;br /&gt;
   $ cd git-1.5.3.1&lt;br /&gt;
   $ make prefix=/usr/local all&lt;br /&gt;
   $ sudo make prefix=/usr/local install&lt;br /&gt;
&lt;br /&gt;
and make sure &amp;lt;tt&amp;gt;/usr/local/bin&amp;lt;/tt&amp;gt; is in your PATH.&lt;br /&gt;
Unlike the other methods, however, the above sequence doesn&amp;#039;t&lt;br /&gt;
install git documentation.  For that, you have&lt;br /&gt;
to build &amp;lt;tt&amp;gt;doc&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;info&amp;lt;/tt&amp;gt; make targets, which require first&lt;br /&gt;
installing other packages such as &amp;lt;tt&amp;gt;asciidoc&amp;lt;/tt&amp;gt; and others.&lt;br /&gt;
Or, you can find documentation online (see below).&lt;br /&gt;
&lt;br /&gt;
== GIT Documentation ==&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;tt&amp;gt;git&amp;lt;/tt&amp;gt; is fully installed, you should be able to get manual pages&lt;br /&gt;
using &amp;lt;tt&amp;gt;man git&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;git help&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can find online documentation such as a&lt;br /&gt;
[http://www.kernel.org/pub/software/scm/git/docs/tutorial.html tutorial]&lt;br /&gt;
and [http://www.kernel.org/pub/software/scm/git/docs/ manual pages].&lt;/div&gt;</summary>
		<author><name>Marc</name></author>
	</entry>
</feed>