{"id":361931,"date":"2021-02-22T19:26:56","date_gmt":"2021-02-22T11:26:56","guid":{"rendered":"http:\/\/4563.org\/?p=361931"},"modified":"2021-02-22T19:26:56","modified_gmt":"2021-02-22T11:26:56","slug":"git-clone-%e6%8a%a5%e9%94%99%ef%bc%8c%e6%98%af%e6%88%91%e7%9a%84%e9%97%ae%e9%a2%98%e8%bf%98%e6%98%af%e7%bd%91%e7%bb%9c%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=361931","title":{"rendered":"git clone \u62a5\u9519\uff0c\u662f\u6211\u7684\u95ee\u9898\u8fd8\u662f\u7f51\u7edc\u7684\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  git clone \u62a5\u9519\uff0c\u662f\u6211\u7684\u95ee\u9898\u8fd8\u662f\u7f51\u7edc\u7684\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>git \u7248\u672c 2.30.1<\/p>\n<pre><code>git clone https:\/\/github.com\/google\/leveldb.git <\/code><\/pre>\n<p>\u62a5\u9519\u662f<\/p>\n<pre><code>Cloning into 'leveldb'... git: 'remote-https' is not a git command. See 'git --help'. <\/code><\/pre>\n<p>\u6539\u6210 ssh\uff0c\u8fd9\u6837\u53ef\u4ee5\uff0c\u4f46\u662f\u52a0\u4e0a submodule \u5c31\u53c8\u62a5\u9519\u4e86<\/p>\n<pre><code>git clone [email&#160;protected]:google\/leveldb.git <\/code><\/pre>\n<pre><code>git clone --recurse-submodules [email&#160;protected]:google\/leveldb.git <\/code><\/pre>\n<p>\u62a5\u9519\u662f<\/p>\n<pre><code>Submodule 'third_party\/benchmark' ( https:\/\/github.com\/google\/benchmark) registered for path 'third_party\/benchmark' Submodule 'third_party\/googletest' ( https:\/\/github.com\/google\/googletest.git) registered for path 'third_party\/googletest' Cloning into '\/home\/keane\/CLionProjects\/leveldb\/third_party\/benchmark'... git: 'remote-https' is not a git command. See 'git --help'. fatal: clone of 'https:\/\/github.com\/google\/benchmark' into submodule path '\/home\/keane\/CLionProjects\/leveldb\/third_party\/benchmark' failed Failed to clone 'third_party\/benchmark'. Retry scheduled Cloning into '\/home\/keane\/CLionProjects\/leveldb\/third_party\/googletest'... git: 'remote-https' is not a git command. See 'git --help'. fatal: clone of 'https:\/\/github.com\/google\/googletest.git' into submodule path '\/home\/keane\/CLionProjects\/leveldb\/third_party\/googletest' failed Failed to clone 'third_party\/googletest'. Retry scheduled Cloning into '\/home\/keane\/CLionProjects\/leveldb\/third_party\/benchmark'... git: 'remote-https' is not a git command. See 'git --help'. fatal: clone of 'https:\/\/github.com\/google\/benchmark' into submodule path '\/home\/keane\/CLionProjects\/leveldb\/third_party\/benchmark' failed Failed to clone 'third_party\/benchmark' a second time, aborting <\/code><\/pre>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5418937\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : imdong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f3c\u4e4e\u8fd8\u662f\u56e0\u4e3a clone \u4e86 https \u5bfc\u81f4\u7684\u95ee\u9898.<\/p>\n<p>\u6ca1\u9047\u5230\u8fc7,\u5efa\u8bae\u53c2\u8003 https:\/\/www.google.com.hk\/search?q=git%3A+%27remote-https%27+is+not+a+git+command.                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5418938\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @imdong \u8c37\u6b4c\u8fc7\u4e86 \u8bd5\u4e86\u597d\u591a\u90fd\u6ca1\u80fd\u89e3\u51b3                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5418939\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8865\u5145\uff1a\u662f Linux \u7cfb\u7edf                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5418940\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LRvx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8fd9\u4e2a git \u7684\u7248\u672c\u662f\u81ea\u5df1\u6e90\u7801\u7f16\u8bd1\u7684\u5417\uff0c\u6211\u8bb0\u5f97\u4e4b\u524d\u81ea\u5df1\u88c5 git \u7684\u65f6\u5019\u4f1a\u6f0f\u6389 libexec\/git-core \u91cc\u7684\u4e00\u4e9b\u4f1a\u6f0f\u6389 git-remote-http \u7b49\u6587\u4ef6\uff0c\u5bfc\u81f4 https \u4e0d\u80fd clone\uff0c\u5b8c\u6574\u7684\u5b89\u88c5\u5c31\u6ca1\u8fd9\u4e2a\u95ee\u9898\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5418941\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @LRvx \u6211\u731c\u786e\u5b9e\u662f\u8fd9\u4e2a\u95ee\u9898\u3002\u3002\u3002\u3002apt \u5b89\u88c5\u4e86\u4e00\u4e2a\u5c31\u597d\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5418942\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LRvx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zxCoder \u627e\u4e00\u4e2a\u9760\u8c31\u7684\u6559\u7a0b\u91cd\u65b0\u88c5\u4e00\u4e0b\u5427\uff0c\u6211\u8bb0\u5f97\u6211\u88c5\u7684\u5f53\u65f6\u8981 openssl \u7b49\u4f9d\u8d56\uff0c\u5982\u679c\u6ca1\u88c5\u597d\uff0c\u5c31\u6709\u8fd9\u4e2a\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>git clone \u62a5\u9519\uff0c\u662f\u6211\u7684\u95ee&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/361931"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=361931"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/361931\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=361931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=361931"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=361931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}