{
    "version": "https:\/\/jsonfeed.org\/version\/1.1",
    "title": "M9K blog: заметки с тегом git",
    "_rss_description": "Заметки обо всём: devops, lifestyle, культура.",
    "_rss_language": "ru",
    "_itunes_email": "",
    "_itunes_categories_xml": "",
    "_itunes_image": "",
    "_itunes_explicit": "",
    "home_page_url": "https:\/\/blog.m9k.space\/tags\/git\/",
    "feed_url": "https:\/\/blog.m9k.space\/tags\/git\/json\/",
    "icon": "https:\/\/blog.m9k.space\/pictures\/userpic\/userpic@2x.jpg?1769095194",
    "authors": [
        {
            "name": "M",
            "url": "https:\/\/blog.m9k.space\/",
            "avatar": "https:\/\/blog.m9k.space\/pictures\/userpic\/userpic@2x.jpg?1769095194"
        }
    ],
    "items": [
        {
            "id": "242",
            "url": "https:\/\/blog.m9k.space\/all\/git-prevraschaem-vlozhenny-repozitoriy-v-obychnuyu-direktoriyu\/",
            "title": "Git: превращаем вложенный репозиторий в обычную директорию",
            "content_html": "<p>Если скопировать один Git-проект внутрь другого и выполнить commit, Git сохранит вложенный проект как gitlink (режим 160000). В GitLab вместо содержимого директории будет отображаться ссылка на commit:<br \/>\ninit-server @ 957c7776<br \/>\nПростое удаление вложенного .git не поможет: ссылка уже записана в индексе родительского репозитория.<br \/>\nРешение:<\/p>\n<ol start=\"1\">\n<li>Удаляем gitlink из индекса, сохраняя файлы на диске:<\/li>\n<\/ol>\n<pre class=\"e2-text-code\"><code class=\"\">git rm --cached init-server<\/code><\/pre><ol start=\"2\">\n<li>Удаляем метаданные вложенного репозитория, если они ещё существуют:<\/li>\n<\/ol>\n<pre class=\"e2-text-code\"><code class=\"\">rm -rf init-server\/.git<\/code><\/pre><ol start=\"3\">\n<li>Добавляем содержимое как обычные файлы:<\/li>\n<\/ol>\n<pre class=\"e2-text-code\"><code class=\"\">git add -A init-server\/<\/code><\/pre><ol start=\"4\">\n<li>Проверяем:<\/li>\n<\/ol>\n<pre class=\"e2-text-code\"><code class=\"\">git ls-files --stage init-server<\/code><\/pre><p>Вместо записи с режимом 160000 должны появиться отдельные файлы с режимами 100644 или 100755.<\/p>\n<ol start=\"5\">\n<li>Фиксируем изменения:<\/li>\n<\/ol>\n<pre class=\"e2-text-code\"><code class=\"\">git commit -m &quot;Convert init-server to regular directory&quot;\ngit push<\/code><\/pre>",
            "summary": "Если скопировать один Git-проект внутрь другого и выполнить commit, Git сохранит вложенный проект как gitlink...",
            "date_published": "2026-09-21T10:52:38+07:00",
            "date_modified": "2026-09-21T10:52:23+07:00",
            "tags": [
                "git",
                "системное администрирование"
            ],
            "_date_published_rfc2822": "Mon, 21 Sep 2026 10:52:38 +0700",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "242",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        },
        {
            "id": "84",
            "url": "https:\/\/blog.m9k.space\/all\/git-sh-executable\/",
            "title": "Git SH executable",
            "content_html": "<pre class=\"e2-text-code\"><code class=\"\">git update-index --chmod=+x path\/to\/file\ngit update-index --chmod=-x path\/to\/file<\/code><\/pre>",
            "summary": "",
            "date_published": "2022-01-27T11:12:50+07:00",
            "date_modified": "2022-01-27T11:12:44+07:00",
            "tags": [
                "chmod",
                "executable",
                "git",
                "администрирование"
            ],
            "_date_published_rfc2822": "Thu, 27 Jan 2022 11:12:50 +0700",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "84",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        }
    ],
    "_e2_version": 4199,
    "_e2_ua_string": "Aegea 11.5 (v4199)"
}