{"id":4307,"date":"2024-12-30T00:07:27","date_gmt":"2024-12-29T15:07:27","guid":{"rendered":"https:\/\/matoken.org\/blog\/?p=4307"},"modified":"2025-01-01T18:11:46","modified_gmt":"2025-01-01T09:11:46","slug":"git-clone-fails-on-thin-line","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2024\/12\/30\/git-clone-fails-on-thin-line\/","title":{"rendered":"\u7d30\u3044\u56de\u7dda\u3067git clone\u306b\u5931\u6557"},"content":{"rendered":"<p><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"48\" height=\"48\" viewBox=\"0 0 24 24\"><rect width=\"24\" height=\"24\" fill=\"none\"\/><path fill=\"currentColor\" d=\"M23.546 10.93L13.067.452a1.55 1.55 0 0 0-2.188 0L8.708 2.627l2.76 2.76a1.838 1.838 0 0 1 2.327 2.341l2.658 2.66a1.838 1.838 0 0 1 1.9 3.039a1.837 1.837 0 0 1-2.6 0a1.85 1.85 0 0 1-.404-1.996L12.86 8.955v6.525c.176.086.342.203.488.348a1.85 1.85 0 0 1 0 2.6a1.844 1.844 0 0 1-2.609 0a1.834 1.834 0 0 1 0-2.598c.182-.18.387-.316.605-.406V8.835a1.834 1.834 0 0 1-.996-2.41L7.636 3.7L.45 10.881c-.6.605-.6 1.584 0 2.189l10.48 10.477a1.545 1.545 0 0 0 2.186 0l10.43-10.43a1.544 1.544 0 0 0 0-2.187\"\/><\/svg><!-- simple-icons:git --><\/p>\n<div class=\"paragraph\">\n<p>\u7d30\u3081\u306e\u56de\u7dda\u3067git clone\u306b\u5931\u6557\u3059\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\uff0e<br \/>\n\u4f8b\u3048\u3070\u3053\u3093\u306a\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ git clone https:\/\/github.com\/ergochat\/ergo\nCloning into 'ergo'...\nremote: Enumerating objects: 26435, done.\nremote: Counting objects: 100% (620\/620), done.\nremote: Compressing objects: 100% (163\/163), done.\nerror: RPC failed; curl 18 transfer closed with outstanding read data rem\naining\nerror: 3971 bytes of body are still expected\nfetch-pack: unexpected disconnect while reading sideband packet\nfatal: early EOF\nfatal: fetch-pack: invalid index-pack output<\/pre>\n<\/div>\n<\/div>\n<p><!--more--><\/p>\n<div class=\"paragraph\">\n<p>\u3068\u304b\u3053\u3093\u306a<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ git clone https:\/\/github.com\/ghostty-org\/ghostty --depth=1\nCloning into 'ghostty'...\nremote: Enumerating objects: 914, done.\nremote: Counting objects: 100% (914\/914), done.\nremote: Compressing objects: 100% (833\/833), done.\nerror: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.\nerror: 3243 bytes of body are still expected\nfetch-pack: unexpected disconnect while reading sideband packet\nfatal: early EOF\nfatal: fetch-pack: invalid index-pack output<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>git config\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8a2d\u5b9a\u3067\u591a\u5c11\u307e\u3057\u306b\u306a\u308a\u307e\u3059\u304c\u305d\u308c\u3067\u3082\u540c\u3058\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u3082\u6210\u529f\u3057\u305f\u308a\u5931\u6557\u3057\u305f\u308a\u3068\u5b89\u5b9a\u3057\u307e\u305b\u3093\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>http.version=HTTP\/1.1\nhttp.postbuffer=524288000<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>clone\u6642\u306b <code>--depth 1<\/code> \u3092\u6307\u5b9a\u3057\u3066 <code>fetch<\/code> \u3067\u6bb5\u968e\u7684\u306b\u53d6\u5f97\u3059\u308b\u3053\u3068\u3067\u3046\u307e\u304f\u884c\u304f\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u304c\u9762\u5012\uff0e\u66f4\u306b\u8a66\u884c\u932f\u8aa4\u3067\u7d50\u69cb\u30c7\u30fc\u30bf\u91cf\u3082\u6d88\u8cbb\u3057\u3066\u3057\u307e\u3044\u307e\u3059\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ git clone http:\/\/example.com\/large-repository --depth 1 <b class=\"conum\">(1)<\/b>\n$ cd large-repository\n$ git fetch --depth=64 <b class=\"conum\">(2)<\/b>\n$ git fetch --depth=128\n$ git fetch --depth=192\n$ git fetch --depth=256\n   :\n$ git fetch --unshallow <b class=\"conum\">(3)<\/b><\/pre>\n<\/div>\n<\/div>\n<div class=\"colist arabic\">\n<ol>\n<li>\n<p>\u6700\u65b01\u4e16\u4ee3\u3060\u3051clone<\/p>\n<\/li>\n<li>\n<p>\u6700\u65b0\u304b\u308964\u4e16\u4ee3clone<\/p>\n<\/li>\n<li>\n<p>\u6b8b\u308a\u5168\u3066clone<\/p>\n<\/li>\n<\/ol>\n<\/div>\n<div class=\"paragraph\">\n<p>\u3067\u3082\u5b89\u5b9a\u3057\u306a\u3044\u3057\u6bce\u56de\u8a66\u884c\u932f\u8aa4\u304c\u5fc5\u8981\u306a\u306e\u3067\u624b\u5143\u306e\u74b0\u5883\u3067\u306f\u7d50\u5c40\u30ea\u30e2\u30fc\u30c8\u306eVPS\u7b49\u3067\u53d6\u5f97\u3057\u3066rsync\u306a\u3069\u3067\u540c\u671f\u3059\u308b\u306e\u304c\u78ba\u5b9f\u3067\u3059\uff0e<\/p>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"title\">oracle\u306e\u7121\u6599\u306aCloud Free Tier\u306eVPS\u3067git clone\u3057\u3066rsync<\/div>\n<div class=\"content\">\n<pre>$ ssh oracle-arm \"git -C \/tmp\/ clone https:\/\/github.com\/ergochat\/ergo\" &amp;&amp; \\\n  ssh rsync -avcP \/tmp\/ergo . &amp;&amp; \\\n  ssh oracle-arm \"rm -r \/tmp\/ergo\"<\/pre>\n<\/div>\n<\/div>\n<div class=\"ulist\">\n<ul>\n<li>\n<p><a href=\"https:\/\/www.oracle.com\/jp\/cloud\/free\/\">Cloud Free Tier | \u30aa\u30e9\u30af\u30eb | Oracle \u65e5\u672c<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div class=\"paragraph\">\n<p>\u3082\u3057\u304f\u306f\u592a\u3044\u56de\u7dda\u306e\u3042\u308b\u5834\u6240\u306b\u79fb\u52d5\u3057\u3066clone\uff0e\u81ea\u5206\u306e\u5834\u5408\u306f\u81ea\u5b85\u306e\u96a3\u306emobile cell\u3084Joyfull\u3067\u3059\uff0e<\/p>\n<\/div>\n<div class=\"ulist\">\n<ul>\n<li>\n<p><a href=\"https:\/\/www.joyfull.co.jp\/wifi\/\">\u7121\u6599wi-fi\u3064\u304b\u3048\u307e\u3059 | \u30d5\u30a1\u30df\u30ea\u30fc\u30ec\u30b9\u30c8\u30e9\u30f3 \u30b8\u30e7\u30a4\u30d5\u30eb [Joyfull]<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div class=\"paragraph\">\n<p>\u3061\u306a\u307f\u306b\u3053\u306e\u75c7\u72b6\u306e\u51fa\u308b\u56de\u7dda\u306f\u6700\u59277Mbps\u307b\u3069\u306e\u30e2\u30d0\u30a4\u30eb\u56de\u7dda\u3067\uff0cMVNO\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3082\u5229\u3044\u3066\u3044\u305d\u3046\u3067\u3059\uff0e<br \/>\n<span class=\"image\"><img decoding=\"async\" src=\"https:\/\/matoken.org\/blog\/wp-content\/uploads\/2024\/12\/LTE.webp\" alt=\"LTE\"><\/span>]<\/p>\n<\/div>\n<div class=\"paragraph\">\n<p>StarLink\u3082\u6c17\u306b\u306a\u308a\u307e\u3059\u304c\u5c71\u306b\u56f2\u307e\u308c\u6563\u308b\u306e\u3067\u3046\u307e\u304f\u96fb\u6ce2\u3092\u63b4\u3081\u308b\u304b\u304c\u4e0d\u5b89\u3067\u3059\uff0e30\u65e5\u4ee5\u5185\u306a\u3089\u8fd4\u54c1\u53ef\u80fd\u306a\u3088\u3046\u3067\u3059\u304c\u2026\u2026\uff0e<\/p>\n<\/div>\n<div class=\"quoteblock\">\n<blockquote>\n<div class=\"paragraph\">\n<p>30 DAY TRIAL<br \/>\nIf not satisfied, return Starlink for a full refund.<\/p>\n<\/div>\n<\/blockquote>\n<div class=\"attribution\">\n&#8212; <a href=\"https:\/\/www.starlink.com\/\">Starlink<\/a>\n<\/div>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"title\">\u74b0\u5883<\/div>\n<div class=\"content\">\n<pre>$ git version\ngit version 2.45.2\n$ dpkg-query -W git\ngit     1:2.45.2-1.3\n$ lsb_release -dr\nDescription:\tDebian GNU\/Linux trixie\/sid\nRelease:\tn\/a\n$ arch\nx86_64<\/pre>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7d30\u3081\u306e\u56de\u7dda\u3067git clone\u306b\u5931\u6557\u3059\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\uff0e \u4f8b\u3048\u3070\u3053\u3093\u306a\uff0e $ git clone https:\/\/github.com\/ergochat\/ergo Cloning into &#8216;ergo&#8217;&#8230; rem [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":null,"activitypub_content_visibility":null,"activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":""},"categories":[7,6,199],"tags":[586],"class_list":["post-4307","post","type-post","status-publish","format-standard","hentry","category-debian-linux","category-linux","category-sid","tag-git"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/4307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=4307"}],"version-history":[{"count":5,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/4307\/revisions"}],"predecessor-version":[{"id":4334,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/4307\/revisions\/4334"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=4307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=4307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=4307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}