<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
<font color="#000000">Читаю сдесь:<br>
<a class="moz-txt-link-freetext"
 href="http://www.altlinux.org/Kernelnotes/mike">http://www.altlinux.org/Kernelnotes/mike</a><br>
<br>
</font>
<pre><font color="#000000">Делал интуитивно читая мануал по git'у.
</font></pre>
<font color="#000000"><i>Локально в /pub/git/linux-2.6.27.y
автоматически
синхронизируется master с
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.27.y.git
и рядом поддерживаются бранчи с
приложенными базовыми патчами.</i></font>
<p> </p>
<pre><font color="#000000">$ mkdir kernel-image
$ cd kernel-image
$ git init
Initialized empty Git repository in /home/mike/git/kernel-image/.git/
$ git fetch /pub/git/linux-2.6.27.y master:kernel-source
[...]

<span
 style="background: rgb(255, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">$ git fetch /pub/git/linux-2.6.31.2 master:kernel-source</span>
<span
 style="background: rgb(255, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">fatal: '/pub/git/linux-2.6.31.2' does not appear to be a git repository</span>
<span
 style="background: rgb(255, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">fatal: The remote end hung up unexpectedly

Я сделал так:


</span></font></pre>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.1  (Unix)">
<style type="text/css">
        <!--
                @page { size: 21cm 29.7cm; margin: 2cm }
                PRE { font-family: "Courier New", monospace; font-size: 10pt }
                P { margin-bottom: 0.21cm }
        -->
        </style>
<pre><font color="#000000"><span
 style="background: rgb(255, 255, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.31.y.git kernel</span>
<span
 style="background: rgb(255, 255, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">Initialized empty Git repository in /storage/mike-kernel/kernel-image/kernel/.git/</span>
<span
 style="background: rgb(255, 255, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">remote: Counting objects: 1275255, done.</span>
<span
 style="background: rgb(255, 255, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">remote: Compressing objects: 100% (215110/215110), done.</span>
<span
 style="background: rgb(255, 255, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">Receiving objects:   1% (16659/1275255), 6.36 MiB | 44 KiB/s

Пошло
потом 
</span>git fetch <span
 style="background: rgb(255, 255, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.31.y.git</span> <span
 style="background: rgb(255, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">master:kernel-source</span>

<span
 style="background: rgb(255, 255, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">Сообщение об ошибки вроде обяснило почему не пошло
</span>git fetch <span
 style="background: rgb(255, 255, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.31.y.git</span> fix-core-syslog:fix-core-syslog
fatal: Couldn't find remote ref fix-core-syslog

Но
$ git branch
  kernel-source

дало результат.

А что с этим делать:
t-hard:~/git/kernel-image&gt; cp -a ~/git/_kernel-image/.gear/rules .gear/rules
?




</font></pre>
</body>
</html>