<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3632677</guid>
        <pubDate>Mon, 02 Nov 2015 13:06:14 +0000</pubDate>
        <title>Не могу клонировать репозиторий Git</title>
        <link>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3632677</link>
        <description><![CDATA[ppostindustrial: Пользуйтесь коммерческим программным обеспечением и не будет таких проблем.<br>Коммерческий код должен разрабатываться на коммерческом программном обеспечении.]]></description>
        <author>ppostindustrial</author>
        <category>Version Control</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3625752</guid>
        <pubDate>Tue, 22 Sep 2015 07:58:20 +0000</pubDate>
        <title>Не могу клонировать репозиторий Git</title>
        <link>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3625752</link>
        <description><![CDATA[p1qb0d: 1) Заходим на сервер<br>2) Запускаем cygwin<br>3) Набираем which git<br>4) Набираем `which git` --version<br><br>Озвучиваем.<br><br>То же самое приконнектившись как git по ssh.<br><br>И потом еще выполнить те же команды, только из них убрать спецификацию диска Windoze вообще, то есть, что-то типа:<br><br>gitBASH:<br>&#036;mkdir /var/tmp/gittest<br>&#036; cd /var/tmp/gittest<br>&#036; git init --bare<br><br>На клиенте:<br>git.exe clone --progress -v &quot;ssh://git@сервер:/var/tmp/gittest&quot; &quot;gitrepo&quot;]]></description>
        <author>p1qb0d</author>
        <category>Version Control</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3624595</guid>
        <pubDate>Tue, 15 Sep 2015 17:12:59 +0000</pubDate>
        <title>Не могу клонировать репозиторий Git</title>
        <link>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3624595</link>
        <description><![CDATA[amk: По идее сервер не должен давать возможности задавать абсолютные пути для репозитория, это несколько небезопасно. Он должен работать с относительными путями в какой-то папке(ах). Возможно это и сказывается.]]></description>
        <author>amk</author>
        <category>Version Control</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3624482</guid>
        <pubDate>Tue, 15 Sep 2015 07:52:20 +0000</pubDate>
        <title>Не могу клонировать репозиторий Git</title>
        <link>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3624482</link>
        <description><![CDATA[MARKSIST: <span class='tag-u'><strong class='tag-b'>&lt;&lt;&lt;Обновленный порядок действий&gt;&gt;&gt;</strong></span><br>
<br>
Есть задача ввести в эксплуатацию систему контроля версий (GIT)<br>
<br>
Сервер для GIT - Windows Server Standart x64 2008 R2<br>
<br>
Клиент - Windows 7 x64<br>
<br>
На сервере установлено:<br>
<br>
-Git-2.5.1-32-bit<br>
<br>
-Cygwin(openSSH сервер)<br>
<br>
На клиенте установлено:<br>
<br>
-Git-2.5.1-32-bit<br>
<br>
-TortoiseGit-1.8.15.0-64bit<br>
<br>
Последовательность установки&gt;&gt;<br>
<br>
Сервер:<br>
<br>
Установка Cygwin<br>
Установка openSSH сервера через Cygwin<br>
Настройка openSSH сервера на дефолтных настройках (Подключение только по паролю пользователь git)<br>
Установка Git-2.5.1-32-bit<br>
Добавлено в переменные среды на сервере<br>
&quot;C:&#092;Program Files (x86)&#092;Git&#092;cmd;C:&#092;Program Files (x86)&#092;Git&#092;bin;C:&#092;Program Files (x86)&#092;Git&#092;mingw32&#092;libexec&#092;git-core;C:&#092;Program Files (x86)&#092;Git&#092;mingw32&#092;bin&quot;<br>
Создание папки  C:&#092;gitrepo<br>
Установка прав на чтение и запись (вообщем на все и для всех) на папку C:&#092;gitrepo<br>
В gitBASH переходим в C:&#092;gitrepo<br>
<br>
&#036; cd C:&#092;gitrepo<br>
<br>
Создал репозиторий<br>
<br>
&#036; git init --bare<br>
<br>
Клиент:<br>
<br>
Установка Git-2.5.1-32-bit<br>
установка TortoiseGit-1.8.15.0-64bit<br>
git config --global user.name и git config --global user.email выполнено<br>
Результат:<br>
<br>
Клиент подключается к серверу по SSH (Putty) по логину git и паролю - удачно (значит SSH сервер работает)<br>
По пути C:&#092; ПКМ в контекстном меню выбираю Git clone...<br>
В открывшемся окне URL: ssh://git@сервер:/cygdrive/c/gitrepo<br>
Вводим пароль для пользователя git<br>
Ошибка:<br>
git.exe clone --progress -v &quot;ssh://git@сервер:/cygdrive/c/gitrepo&quot; &quot;C:&#092;gitrepo&quot;<br>
<br>
Cloning into &#39;C:&#092;gitrepo&#39;... fatal: &#39;/cygdrive/c/gitrepo&#39; does not appear to be a git repository fatal: Could not read from remote repository.<br>
<br>
Please make sure you have the correct access rights and the repository exists.<br>
<br>
git did not exit cleanly (exit code 128) (136079 ms @ 15.09.2015 10:39:34)<br>
в gitBASH команда git clone ssh://git@сервер:/cygdrive/c/gitrepo<br>
fatal: &#39;/cygdrive/c/gitrepo&#39; does not appear to be a git repository fatal: Could not read from remote repository.<br>
<br>
Please make sure you have the correct access rights and the repository exists.<br>
Подскажите пожалуйста возможные варианты решения проблемы, или подскажите в чем я не прав. Спасибо заранее.]]></description>
        <author>MARKSIST</author>
        <category>Version Control</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3624471</guid>
        <pubDate>Tue, 15 Sep 2015 05:09:11 +0000</pubDate>
        <title>Не могу клонировать репозиторий Git</title>
        <link>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3624471</link>
        <description><![CDATA[MARKSIST: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=406029&view=findpost&p=3624433'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>amk &#064; <time class="tag-quote__quoted-time" datetime="2015-09-14T17:17:06+00:00">14.09.15, 17:17</time></span><div class='quote '>Попробуй убрать слэш перед &quot;C:/repo&quot;, похоже, на него ругается.</div></div><br>
Ошибка после того как убрал слэш перед &quot;C:/repo&quot;<br>
<br>
git.exe clone --progress -v &quot;ssh://git@сервер:C:/repo&quot; &quot;C:&#092;repo&quot;<br>
<br>
Cloning into &#39;C:&#092;repo&#39;...<br>
Unable to open connection:<br>
Host does not existfatal: Could not read from remote repository.<br>
<br>
Please make sure you have the correct access rights<br>
and the repository exists.<br>
<br>
<br>
git did not exit cleanly (exit code 128) (2215 ms @ 15.09.2015 8:07:25)]]></description>
        <author>MARKSIST</author>
        <category>Version Control</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3624433</guid>
        <pubDate>Mon, 14 Sep 2015 17:17:06 +0000</pubDate>
        <title>Не могу клонировать репозиторий Git</title>
        <link>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3624433</link>
        <description><![CDATA[amk: Говорит, что не может найти на сервере папку с репозиторием.<br>Либо неправильно указан путь<br>Либо в папке разрушена структура репозитория (что мало вероятно).<br><br>Возможно путь к репозиторию на сервере надо указывать по-другому.<br><br>Попробуй убрать слэш перед &quot;C:/repo&quot;, похоже, на него ругается.]]></description>
        <author>amk</author>
        <category>Version Control</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3624411</guid>
        <pubDate>Mon, 14 Sep 2015 12:54:39 +0000</pubDate>
        <title>Не могу клонировать репозиторий Git</title>
        <link>https://forum.sources.ru/index.php?showtopic=406029&amp;view=findpost&amp;p=3624411</link>
        <description><![CDATA[MARKSIST: Есть задача ввести в эксплуатацию систему контроля версий (GIT)<br>Сервер для GIT - Windows Server Standart x64 2008 R2<br>Клиент - Windows 7 x64<br><br>На сервере установлено:<br>-Git-2.5.1-32-bit<br>-Cygwin(openSSH сервер)<br><br>На клиенте установлено:<br>-Git-2.5.1-32-bit<br>-TortoiseGit-1.8.15.0-64bit<br><br>Последовательность установки&gt;&gt;<br>Сервер:<br>1. Установка Cygwin<br>2. Установка openSSH сервера через Cygwin<br>3. Настройка openSSH сервера на дефолтных настройках (Подключение только по паролю пользователь git)<br>4. Установка Git-2.5.1-32-bit<br>5. Добавлено в переменные среды на сервере<br>&quot;C:&#092;Program Files (x86)&#092;Git&#092;cmd;C:&#092;Program Files (x86)&#092;Git&#092;bin;C:&#092;Program Files (x86)&#092;Git&#092;mingw32&#092;libexec&#092;git-core;C:&#092;Program Files (x86)&#092;Git&#092;mingw32&#092;bin&quot;<br>6. Создание репозитория с помощью GitGUI по пути C:&#092;repo (вот что получилось C:&#092;repo&#092;.git)<br>7. Установка прав на чтение и запись (вообщем на все и для всех) на папку C:&#092;repo<br><br>Клиент:<br>1. Установка Git-2.5.1-32-bit<br>2. установка TortoiseGit-1.8.15.0-64bit<br><br>Результат:<br>1. Клиент подключается к серверу по SSH (Putty) по логину git и паролю - удачно (значит SSH сервер работает)<br>2. По пути C:&#092; ПКМ в контекстном меню выбираю Git clone...<br>3. В открывшемся окне URL: ssh://git@сервер:/C:/repo<br>4. Вводим пароль для пользователя git<br>5. Ошибка:<br><br>git.exe clone --progress -v &quot;ssh://git@сервер:/C:/repo&quot; &quot;C:&#092;repo&quot;<br><br>Cloning into &#39;C:&#092;repo&#39;...<br>fatal: &#39;/C:/repo&#39; does not appear to be a git repository<br>fatal: Could not read from remote repository.<br><br>Please make sure you have the correct access rights<br>and the repository exists.<br><br><br>git did not exit cleanly (exit code 128) (8237 ms @ 14.09.2015 14:42:28)<br><br>Подскажите пожалуйста возможные варианты решения проблемы, или подскажите в чем я не прав. Спасибо заранее.]]></description>
        <author>MARKSIST</author>
        <category>Version Control</category>
      </item>
	
      </channel>
      </rss>
	