{"id":480,"date":"2023-05-07T09:18:56","date_gmt":"2023-05-07T01:18:56","guid":{"rendered":"https:\/\/zhaocunwei.co.uk\/?p=480"},"modified":"2023-05-07T10:06:00","modified_gmt":"2023-05-07T02:06:00","slug":"share-git-lfs-use-and-installation-tutorial-through-the-article","status":"publish","type":"post","link":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/","title":{"rendered":"\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\uff08Share: git lfs use and installation tutorial, through the article can optimize our Git\uff09"},"content":{"rendered":"<h1>\u524d\u8a00<\/h1>\n<p>\u5199\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u662f\u9879\u76ee\u4e2d\u9700\u8981\u642d\u5efa\u81ea\u5df1\u7684Git\u670d\u52a1\u5668\uff0c\u56e0\u4e3a\u516c\u53f8\u90e8\u7f72\u7684\u4ea7\u54c1\u662f\u5728\u79bb\u7ebf\u60c5\u51b5\u4e0b\u548c\u516c\u53f8\u5185\u90e8\u4f7f\u7528\u81ea\u5df1\u7684Git\u4ee3\u7801\u4ed3\u5e93\uff0c<font color=gren>\ud83d\udcaa\u5144\u5f1f\u4eec\uff0c\u5982\u679c\u5e2e\u52a9\u60a8\u561e\uff0c\u8bf7\u8bb0\u5f97\u5206\u4eab\ud83d\ude00<\/font><\/p>\n<h1>O(\u2229_\u2229)O\u54c8\u54c8~<\/h1>\n<p>\u9996\u5148\u6211\u4eec\u5927\u5bb6\u8981\u77e5\u9053\u8fd9\u4e2a\u4e1c\u4e1c\u662f\u5565\u73a9\u610f^_^ <\/p>\n<p>Git LFS(Git Large File Storage)\u662fGit\u7684\u6269\u5c55,\u7528\u4e8e\u7248\u672c\u63a7\u5236\u5927\u6587\u4ef6\u3002<\/p>\n<p>\u5b83\u53ef\u4ee5\u5c06\u5927\u6587\u4ef6\u4eceGit\u5b58\u50a8\u5e93\u4e2d\u63d0\u53d6\u51fa\u6765,\u800c\u53ea\u5728\u5b58\u50a8\u5e93\u4e2d\u4fdd\u5b58\u6587\u4ef6\u6307\u9488\u548c\u6587\u4ef6\u5143\u6570\u636e,\u4ece\u800c\u63d0\u9ad8Git\u7684\u6027\u80fd\u3002<\/p>\n<p><font color=red>\u55d6\u560e\uff0c\u6240\u4ee5\u54b1\u4eec\u4e3a\u4e86\u63d0\u9ad8\u54b1\u4eec\u63d0\u4ea4\u4ee3\u7801\u7684\u901f\u5ea6\uff0c\u55d6\u55d6\ud83d\ude00\u5fc5\u987b\u6765\u4e00\u5957O(\u2229_\u2229)O\u54c8\u54c8~<\/font><\/p>\n<p>Git LFS\u7684\u4e3b\u8981\u7528\u9014\u6709:<\/p>\n<p>\u5904\u7406\u5927\u6587\u4ef6\u3002<\/p>\n<p>\u200b   Git\u672c\u8eab\u5bf9\u7248\u672c\u63a7\u5236\u7684\u6587\u4ef6\u5927\u5c0f\u6709\u9650\u5236,\u8d85\u8fc7\u8fd9\u4e2a\u9650\u5236\u7684\u6587\u4ef6\u4f1a\u4e25\u91cd\u964d\u4f4eGit\u7684\u6027\u80fd\u3002<\/p>\n<p>\u200b   Git LFS\u53ef\u4ee5\u5c06\u8fd9\u4e9b\u5927\u6587\u4ef6\u4eceGit\u5b58\u50a8\u5e93\u4e2d\u63d0\u53d6\u51fa\u6765,\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n<p>\u51cf\u5c0f\u4ed3\u5e93\u5927\u5c0f\u3002<\/p>\n<p>\u200b   \u7531\u4e8e\u53ea\u5728Git\u5b58\u50a8\u5e93\u4e2d\u4fdd\u5b58\u6587\u4ef6\u6307\u9488\u548c\u5143\u6570\u636e,\u53ef\u4ee5\u663e\u8457\u51cf\u5c0f\u4ed3\u5e93\u7684\u5927\u5c0f\u3002<\/p>\n<p>\u4fdd\u7559\u6587\u4ef6\u5386\u53f2\u3002<\/p>\n<p>\u200b   \u867d\u7136\u5927\u6587\u4ef6\u88ab\u63d0\u53d6\u51faGit\u5b58\u50a8\u5e93,\u4f46\u4ecd\u53ef\u4ee5\u901a\u8fc7\u6587\u4ef6\u6307\u9488\u5b9e\u73b0\u5bf9\u6587\u4ef6\u7684\u7248\u672c\u63a7\u5236,\u4fdd\u7559\u6587\u4ef6\u7684\u5386\u53f2\u4fee\u6539\u8bb0\u5f55\u3002<\/p>\n<p>\u4f18\u5316\u6d41\u91cf\u3002<\/p>\n<p>\u200b   \u5728\u63a8\u9001\u548c\u62c9\u53d6\u5b58\u50a8\u5e93\u65f6,\u53ea\u9700\u8981\u8f6c\u79fb\u6587\u4ef6\u6307\u9488\u548c\u5143\u6570\u636e,\u800c\u4e0d\u662f\u6574\u4e2a\u5927\u6587\u4ef6\u7684\u5185\u5bb9,\u53ef\u4ee5\u4f18\u5316\u7f51\u7edc\u6d41\u91cf\u3002<\/p>\n<h1>\u5b89\u88c5Git LFS\u7684\u6b65\u9aa4\u5982\u4e0b:<\/h1>\n<p>\u4e00\u3001\u4e0b\u8f7d\u5e76\u5b89\u88c5Git LFS\u3002<\/p>\n<p>\u200b   \u53ef\u4ee5\u4ece\u5b98\u7f51https:\/\/git-lfs.github.com\/\u4e0b\u8f7d\u5bf9\u5e94\u7cfb\u7edf\u7684\u5b89\u88c5\u5305\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<pre><code>   \u5bf9\u4e8eMac\u7cfb\u7edf,\u53ef\u4ee5\u6309\u5982\u4e0b\u6b65\u9aa4\u5b89\u88c5Git LFS:\n   1. \u4e0b\u8f7dGit LFS\u7684Mac\u5b89\u88c5\u5305\u3002\u6253\u5f00\u7f51\u7ad9https:\/\/git-lfs.github.com\/,\u627e\u5230Git LFS\u7684Mac\u4e0b\u8f7d\u94fe\u63a5,\u70b9\u51fb\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684Installer\u5305\u3002\n   2. \u5b89\u88c5Git LFS\u3002\u53cc\u51fb\u4e0b\u8f7d\u7684Installer\u5305GitLFS-x.x.x.pkg\u8fdb\u884c\u5b89\u88c5\u3002\u6309\u7167\u5b89\u88c5\u5411\u5bfc\u7684\u6b65\u9aa4\u4e00\u6b65\u6b65\u5b89\u88c5\u3002\n   3. \u9a8c\u8bc1\u5b89\u88c5\u3002\u6253\u5f00\u7ec8\u7aef,\u8fd0\u884c\u547d\u4ee4<code>git lfs -v<\/code>,\u5982\u679c\u51fa\u73b0Git LFS\u7684\u7248\u672c\u4fe1\u606f,\u8bf4\u660e\u5b89\u88c5\u6210\u529f\u3002\n   4. \u5168\u5c40\u5b89\u88c5(\u53ef\u9009)\u3002\u901a\u8fc7Homebrew\u6216MacPorts\u7b49\u5305\u7ba1\u7406\u5de5\u5177\u4e5f\u53ef\u4ee5\u8fdb\u884c\u5b89\u88c5\u3002\u4f8b\u5982\u901a\u8fc7Homebrew\u8fd0\u884c:<code>brew install git-lfs<\/code>\u3002\n   5. \u6307\u5b9a\u5b58\u50a8\u5e93\u542f\u7528Git LFS(\u53ef\u9009)\u3002\u5982\u679c\u9700\u8981\u5728\u6307\u5b9a\u5b58\u50a8\u5e93\u542f\u7528Git LFS,\u53ef\u4ee5\u6309\u5982\u4e0b\u6b65\u9aa4\u8fdb\u884c:-  \u8fdb\u5165\u9700\u8981\u542f\u7528Git LFS\u7684\u5b58\u50a8\u5e93\u76ee\u5f55<\/code><\/pre>\n<p>-  \u8fd0\u884c\u547d\u4ee4<code>git lfs install<\/code>\u8fdb\u884c\u521d\u59cb\u5316<br \/>\n-  \u8fd0\u884c\u547d\u4ee4<code>git lfs track &quot;&lt;pattern&gt;&quot;<\/code>\u6765track\u9700\u8981\u4f5c\u4e3a\u5927\u6587\u4ef6\u5904\u7406\u7684\u6587\u4ef6\u6a21\u5f0f<br \/>\n-  \u63d0\u4ea4\u66f4\u65b0\u548c\u63a8\u9001\u5230\u670d\u52a1\u5668<br \/>\n-  \u5176\u4ed6\u5ba2\u6237\u7aef\u62c9\u53d6\u540e\u4f1a\u81ea\u52a8\u83b7\u53d6\u5927\u6587\u4ef6\u5185\u5bb9\u5bf9\u4e8eWindows\u7cfb\u7edf,<\/p>\n<p>\u53ef\u4ee5\u5728\u7f51\u7ad9https:\/\/git-lfs.github.com\/\u9009\u62e9Windows\u4e0b\u8f7d64\u4f4d\u621632\u4f4d\u7684Installer\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<p>\u5b89\u88c5\u8fc7\u7a0b\u548cMac\u7cfb\u7edf\u7c7b\u4f3c\u3002<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e,\u53ef\u4ee5\u6309\u7167\u4e0a\u6587\u6240\u8ff0\u7684\u6b65\u9aa4\u4f7f\u7528Git LFS\u8fdb\u884c\u7248\u672c\u63a7\u5236\u5927\u6587\u4ef6,\u4f18\u5316\u6211\u4eec\u7684Git\u4f53\u9a8c\u3002<\/p>\n<p>\u4e8c\u3001 \u521d\u59cb\u5316Git LFS\u3002<\/p>\n<p>\u200b   \u901a\u8fc7\u8fd0\u884c<code>git lfs install<\/code>\u547d\u4ee4\u5728Git\u5b58\u50a8\u5e93\u4e2d\u521d\u59cb\u5316Git LFS\u3002<\/p>\n<p>\u200b   \u53ea\u9700\u8981\u5728\u6bcf\u4e2a\u5b58\u50a8\u5e93\u8fd0\u884c\u4e00\u6b21\u3002<\/p>\n<p>\u200b             \u5728\u9700\u8981\u4f7f\u7528Git LFS\u7684\u6bcf\u4e2aGit\u5b58\u50a8\u5e93\u4e2d\u8fd0\u884c\u6b64\u547d\u4ee4\u4e00\u6b21,\u7528\u4e8e\u521d\u59cb\u5316Git LFS\u3002<\/p>\n<p>\u4f8b\u5982,\u5982\u679c\u9700\u8981\u5728\u5b58\u50a8\u5e93myrepo\u4e2d\u4f7f\u7528Git LFS,\u53ef\u4ee5\u6309\u5982\u4e0b\u6b65\u9aa4\u8fdb\u884c:<\/p>\n<ol>\n<li>\u8fdb\u5165myrepo\u5b58\u50a8\u5e93\u76ee\u5f55:<\/li>\n<\/ol>\n<pre><code>bash\ncd myrepo<\/code><\/pre>\n<ol start=\"2\">\n<li>\u8fd0\u884c<code>git lfs install<\/code>\u547d\u4ee4\u8fdb\u884c\u521d\u59cb\u5316:<\/li>\n<\/ol>\n<pre><code>bash \ngit lfs install<\/code><\/pre>\n<ol start=\"3\">\n<li>\u9009\u62e9\u9700\u8981track\u7684\u6587\u4ef6\u6a21\u5f0f,\u4f8b\u5982track\u6269\u5c55\u540d\u4e3a.psd\u548c.mp4\u7684\u6587\u4ef6:<\/li>\n<\/ol>\n<pre><code>bash\ngit lfs track &quot;*.psd&quot;\ngit lfs track &quot;*.mp4&quot;<\/code><\/pre>\n<ol start=\"4\">\n<li>\u6dfb\u52a0\u548c\u63d0\u4ea4\u8fd9\u4e9b\u6587\u4ef6:<\/li>\n<\/ol>\n<pre><code>bash\ngit add .\ngit commit -m &quot;Add files&quot;<\/code><\/pre>\n<ol start=\"5\">\n<li>\u63a8\u9001\u5230\u670d\u52a1\u5668:<\/li>\n<\/ol>\n<pre><code>bash\ngit push<\/code><\/pre>\n<p>\u6b64\u65f6,\u53ea\u4f1a\u63a8\u9001\u6587\u4ef6\u6307\u9488\u548c\u5143\u6570\u636e\u5230\u670d\u52a1\u5668,\u4e0d\u4f1a\u63a8\u9001\u5927\u6587\u4ef6\u5185\u5bb9\u3002<\/p>\n<p>\u5176\u4ed6\u7528\u6237\u6216\u5ba2\u6237\u7aef\u5728\u62c9\u53d6\u6b64\u5b58\u50a8\u5e93\u65f6,\u4f1a\u81ea\u52a8\u4e0b\u8f7d\u5927\u6587\u4ef6\u5185\u5bb9\u3002<\/p>\n<p>\u8fd9\u907f\u514d\u4e86\u5728\u6bcf\u6b21\u63a8\u9001\u548c\u62c9\u53d6\u65f6\u4f20\u8f93\u5927\u6587\u4ef6,\u4f18\u5316\u4e86\u5b58\u50a8\u5e93\u7684\u4f53\u79ef\u548c\u7f51\u7edc\u6d41\u91cf\u3002<\/p>\n<p>\u4e09\u3001track\u6587\u4ef6\u3002<\/p>\n<p>\u200b       \u9700\u8981\u7248\u672c\u63a7\u5236\u7684\u5927\u6587\u4ef6,\u9700\u8981\u901a\u8fc7<code>git lfs track &quot;&lt;\u6587\u4ef6\u540d&gt;&quot;<\/code>\u8fdb\u884ctrack,\u6307\u5b9a\u4f5c\u4e3a\u5927\u6587\u4ef6\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<p>\u200b       track\u6587\u4ef6\u662f\u6307\u4f7f\u7528Git LFS track\u547d\u4ee4,\u6307\u5b9a\u54ea\u4e9b\u6587\u4ef6\u7c7b\u578b\u6216\u6587\u4ef6\u6a21\u5f0f\u9700\u8981\u8fdb\u884c\u5927\u6587\u4ef6\u5904\u7406,\u4ece\u800c\u5b9e\u73b0\u8fd9\u4e9b\u6587\u4ef6\u7684\u7248\u672c\u63a7\u5236\u3002<\/p>\n<p>track\u6587\u4ef6\u6709\u4ee5\u4e0b\u597d\u5904:<\/p>\n<p>1.\u53ef\u4ee5\u63d0\u53d6\u5927\u6587\u4ef6\u3002<\/p>\n<p>\u200b   \u901a\u8fc7track\u547d\u4ee4\u6307\u5b9a\u7684\u6587\u4ef6\u4f1a\u88ab\u63d0\u53d6\u51faGit\u5b58\u50a8\u5e93,\u53ea\u4fdd\u7559\u5176\u6587\u4ef6\u6307\u9488\u548c\u5143\u6570\u636e,\u4ece\u800c\u51cf\u5c0f\u4ed3\u5e93\u5927\u5c0f\u548c\u4f18\u5316\u7f51\u7edc\u6d41\u91cf\u3002<\/p>\n<p>2.\u4fdd\u7559\u6587\u4ef6\u5386\u53f2\u3002<\/p>\n<p>\u867d\u7136\u6587\u4ef6\u88ab\u63d0\u53d6\u51faGit\u5b58\u50a8\u5e93,\u4f46\u901a\u8fc7\u6587\u4ef6\u6307\u9488\u4ecd\u53ef\u4ee5\u5b9e\u73b0\u6587\u4ef6\u7684\u7248\u672c\u63a7\u5236,\u67e5\u770b\u6587\u4ef6\u7684\u5386\u53f2\u4fee\u6539\u8bb0\u5f55\u3002<\/p>\n<p>3.\u81ea\u52a8\u4e0b\u8f7d\u3002<\/p>\n<p>\u5176\u4ed6\u5ba2\u6237\u7aef\u5728\u62c9\u53d6\u5b58\u50a8\u5e93\u65f6,\u5982\u679c\u672c\u5730\u6ca1\u6709track\u7684\u5927\u6587\u4ef6,\u4f1a\u81ea\u52a8\u4e0b\u8f7d\u5176\u5185\u5bb9\u3002<\/p>\n<p>4.track\u6587\u4ef6\u6b65\u9aa4\u5982\u4e0b:<\/p>\n<ol>\n<li>\u8fdb\u5165\u9700\u8981\u5728\u5176\u4e2d\u4f7f\u7528Git LFS\u7684Git\u5b58\u50a8\u5e93\u76ee\u5f55\u3002<\/li>\n<li>\u786e\u4fdd\u5df2\u7ecf\u8fd0\u884c\u8fc7<code>git lfs install<\/code>\u547d\u4ee4\u8fdb\u884c\u4e86\u521d\u59cb\u5316\u3002<\/li>\n<li>\u8fd0\u884c<code>git lfs track<\/code>\u547d\u4ee4\u6307\u5b9a\u9700\u8981track\u7684\u6587\u4ef6\u6a21\u5f0f,\u4f8b\u5982:<\/li>\n<\/ol>\n<pre><code>bash\ngit lfs track &quot;*.psd&quot;     # Track .psd files\ngit lfs track &quot;*.mp4&quot;     # Track .mp4 video files<\/code><\/pre>\n<ol start=\"4\">\n<li>\u63d0\u4ea4\u66f4\u65b0\u548c\u63a8\u9001\u5230\u670d\u52a1\u5668,\u4f8b\u5982:<\/li>\n<\/ol>\n<pre><code>bash\ngit add .     \ngit commit -m &quot;Add files&quot;\ngit push<\/code><\/pre>\n<ol start=\"5\">\n<li>\u5176\u4ed6\u5ba2\u6237\u7aef\u62c9\u53d6\u5b58\u50a8\u5e93\u65f6,\u4f1a\u81ea\u52a8\u83b7\u53d6\u6307\u5b9a\u6587\u4ef6\u6a21\u5f0f\u7684\u6587\u4ef6\u5185\u5bb9\u30026. \u53ef\u4ee5\u901a\u8fc7<code>git lfs untrack<\/code>\u547d\u4ee4\u53d6\u6d88\u5bf9\u67d0\u6587\u4ef6\u6a21\u5f0f\u7684track,\u4f8b\u5982:<\/li>\n<\/ol>\n<pre><code>bash \ngit lfs untrack &quot;*.psd&quot;  # Stop tracking .psd files<\/code><\/pre>\n<p>\u901a\u8fc7track\u547d\u4ee4\u6307\u5b9a\u5b58\u50a8\u5e93\u4e2d\u9700\u8981\u505a\u5927\u6587\u4ef6\u5904\u7406\u7684\u6587\u4ef6\u7c7b\u578b,Git LFS\u53ef\u4ee5\u9ad8\u6548\u7ba1\u7406\u8fd9\u4e9b\u6587\u4ef6,\u5b9e\u73b0\u7248\u672c\u63a7\u5236\u7684\u540c\u65f6\u4f18\u5316Git\u6027\u80fd\u3002<\/p>\n<p>track\u548cuntrack\u547d\u4ee4\u4e3a\u5927\u6587\u4ef6\u7ba1\u7406\u63d0\u4f9b\u4e86\u5f88\u5927\u7684\u7075\u6d3b\u6027,\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u9700\u8981\u968f\u65f6\u8c03\u6574\u88abtrack\u7684\u6587\u4ef6\u6a21\u5f0f\u3002<\/p>\n<p>\u56db\u3001 \u63d0\u4ea4\u66f4\u65b0\u3002<\/p>\n<p>\u200b       \u548cGit\u6807\u51c6\u6d41\u7a0b\u4e00\u6837,\u901a\u8fc7<code>git add<\/code>\u548c<code>git commit<\/code>\u63d0\u4ea4\u5bf9track\u6587\u4ef6\u7684\u66f4\u65b0\u3002<\/p>\n<p>\u200b         \u4f8b\u5982,\u5982\u679c\u9700\u8981\u63d0\u4ea4\u4e00\u6b21\u66f4\u65b0,\u5305\u542b\u5927\u6587\u4ef6\u5185\u5bb9\u7684\u53d8\u66f4,\u53ef\u4ee5\u6309\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c:<\/p>\n<ol>\n<li>\n<p>\u4fee\u6539\u5927\u6587\u4ef6\u5185\u5bb9\u3002\u4f8b\u5982\u4fee\u6539\u4e00\u4e2a\u89c6\u9891\u6587\u4ef6video.mp4\u3002<\/p>\n<\/li>\n<li>\n<p>\u6dfb\u52a0\u4fee\u6539\u7684\u6587\u4ef6:<code>git add video.mp4<\/code><\/p>\n<\/li>\n<li>\n<p>\u63d0\u4ea4\u66f4\u65b0:<code>git commit -m &quot;Update video file&quot;<\/code><\/p>\n<\/li>\n<li>\n<p>\u63a8\u9001\u5230\u670d\u52a1\u5668:<code>git push<\/code>\u6b64\u65f6,Git LFS\u4f1a\u68c0\u6d4b\u5230video.mp4\u6587\u4ef6\u88abtrack\u4e3a\u5927\u6587\u4ef6,\u6240\u4ee5\u53ea\u4f1a\u63a8\u9001\u5176\u6587\u4ef6\u6307\u9488\u548c\u5143\u6570\u636e\u5230\u670d\u52a1\u5668,\u800c\u4e0d\u4f1a\u63a8\u9001\u5b9e\u9645\u7684\u6587\u4ef6\u5185\u5bb9\u3002<\/p>\n<p>\u5176\u4ed6\u5ba2\u6237\u7aef\u5728\u62c9\u53d6\u6b64\u66f4\u65b0\u65f6,\u5982\u679c\u672c\u5730\u6ca1\u6709video.mp4\u6587\u4ef6,\u4f1a\u81ea\u52a8\u4e0b\u8f7d\u5176\u5185\u5bb9\u3002<\/p>\n<p>\u5982\u679c\u672c\u5730\u5df2\u6709,\u4f1a\u91cd\u65b0\u4e0b\u8f7d\u5176\u6700\u65b0\u7248\u672c\u3002<\/p>\n<p>Git LFS\u901a\u8fc7\u6587\u4ef6\u6307\u9488\u7684\u53d8\u5316\u6765\u5224\u65ad\u5927\u6587\u4ef6\u5185\u5bb9\u662f\u5426\u6709\u66f4\u65b0,\u5982\u679c\u6587\u4ef6\u6307\u9488\u672a\u53d8\u5316,\u5219\u8ba4\u4e3a\u5927\u6587\u4ef6\u5185\u5bb9\u4e5f\u6ca1\u6709\u66f4\u65b0,\u4e0d\u9700\u8981\u91cd\u65b0\u4e0b\u8f7d\u3002<\/p>\n<p>\u8fd9\u6837,\u5728\u63a8\u9001\u548c\u62c9\u53d6\u8fc7\u7a0b\u4e2d,\u907f\u514d\u4e86\u91cd\u590d\u4f20\u8f93\u5927\u6587\u4ef6\u7684\u5185\u5bb9,\u5927\u5927\u51cf\u5c11\u4e86\u7f51\u7edc\u6d41\u91cf,\u63d0\u9ad8\u4e86Git\u7684\u6027\u80fd\u3002<\/p>\n<p>\u5f53\u7136,\u5982\u679c\u4e0d\u5e0c\u671btrack\u67d0\u4e9b\u6587\u4ef6\u7c7b\u578b\u4f5c\u4e3a\u5927\u6587\u4ef6,\u53ef\u4ee5\u901a\u8fc7<code>git lfs untrack<\/code>\u547d\u4ee4\u8fdb\u884c\u53d6\u6d88track,\u4f7f\u5176\u91cd\u65b0\u7eb3\u5165\u6807\u51c6Git\u7684\u7ba1\u7406\u3002<\/p>\n<p>\u4f8b\u5982,\u5982\u679c\u4e0d\u518d\u9700\u8981track\u89c6\u9891\u6587\u4ef6,\u53ef\u4ee5\u8fd0\u884c:<\/p>\n<\/li>\n<\/ol>\n<pre><code>bash\ngit lfs untrack &quot;*.mp4&quot;<\/code><\/pre>\n<p>\u4e4b\u540e,mp4\u89c6\u9891\u6587\u4ef6\u518d\u6b21\u88ab\u63d0\u4ea4\u65f6,\u5176\u5185\u5bb9\u4f1a\u76f4\u63a5\u63d0\u4ea4\u5230Git\u5b58\u50a8\u5e93,\u800c\u4e0d\u662f\u901a\u8fc7Git LFS\u8fdb\u884c\u7ba1\u7406\u3002<\/p>\n<p>\u603b\u4e4b,Git LFS\u5728\u63d0\u4ea4\u66f4\u65b0\u65f6\u548c\u6807\u51c6Git\u5de5\u4f5c\u6d41\u57fa\u672c\u4e00\u81f4,\u4f46\u5728\u80cc\u540e\u5b9e\u73b0\u4e86\u5bf9\u5927\u6587\u4ef6\u7684\u667a\u80fd\u7ba1\u7406,\u901a\u8fc7\u6587\u4ef6\u7684track\u72b6\u6001\u6765\u5224\u65ad\u662f\u5426\u63d0\u53d6\u6587\u4ef6\u5185\u5bb9,\u8fd9\u4f7f\u5f97\u6211\u4eec\u53ef\u4ee5\u50cf\u6807\u51c6Git\u4e00\u6837\u8f7b\u677e\u9ad8\u6548\u5730\u7ba1\u7406\u5305\u542b\u5927\u6587\u4ef6\u7684\u5b58\u50a8\u5e93\u3002<\/p>\n<p>\u4e94\u3001 \u63a8\u9001\u66f4\u65b0\u3002<\/p>\n<p>\u200b       \u901a\u8fc7<code>git push<\/code>\u547d\u4ee4\u63a8\u9001\u66f4\u65b0\u5230\u670d\u52a1\u5668,\u6b64\u65f6\u53ea\u4f1a\u4e0a\u4f20\u6587\u4ef6\u6307\u9488\u548c\u5143\u6570\u636e,\u800c\u4e0d\u4f1a\u4e0a\u4f20\u5927\u6587\u4ef6\u5185\u5bb9\u3002<\/p>\n<p>\u200b       \u5f53\u6267\u884c<code>git push<\/code>\u547d\u4ee4\u63a8\u9001\u66f4\u65b0\u65f6,Git LFS\u4f1a\u68c0\u6d4b\u5f53\u524d\u63d0\u4ea4\u4e2d\u54ea\u4e9b\u6587\u4ef6\u88abtrack\u4e3a\u5927\u6587\u4ef6\u3002<\/p>\n<p>\u200b       \u5bf9\u4e8e\u8fd9\u4e9b\u5927\u6587\u4ef6,Git LFS\u53ea\u4f1a\u63a8\u9001\u5176\u6587\u4ef6\u6307\u9488\u548c\u5143\u6570\u636e\u5230\u670d\u52a1\u5668,\u800c\u4e0d\u4f1a\u63a8\u9001\u5b9e\u9645\u7684\u6587\u4ef6\u5185\u5bb9\u3002<\/p>\n<p>\u200b   \u4f8b\u5982,\u5982\u679c\u5f53\u524d\u63d0\u4ea4\u5305\u542b\u4e00\u4e2a\u89c6\u9891\u6587\u4ef6video.mp4,\u5e76\u4e14\u5176\u6269\u5c55\u540d*.mp4\u88abtrack\u4e3a\u5927\u6587\u4ef6,\u90a3\u4e48\u63a8\u9001\u66f4\u65b0\u65f6,\u53ea\u4f1a\u63a8\u9001video.mp4\u6587\u4ef6\u7684\u6587\u4ef6\u6307\u9488\u548c\u5143\u6570\u636e,\u800c\u4e0d\u4f1a\u63a8\u9001\u5176\u5185\u5bb9\u3002<\/p>\n<p>\u5176\u4ed6\u5ba2\u6237\u7aef\u5728\u62c9\u53d6\u6b64\u66f4\u65b0\u540e,\u4f1a\u901a\u8fc7\u6587\u4ef6\u6307\u9488\u5224\u65ad\u81ea\u5df1\u662f\u5426\u5df2\u6709video.mp4\u7684\u6700\u65b0\u5185\u5bb9\u3002<\/p>\n<p>\u5982\u679c\u6ca1\u6709,\u4f1a\u81ea\u52a8\u4eceGit LFS\u7684\u5927\u6587\u4ef6\u5b58\u50a8\u670d\u52a1\u5668\u4e0a\u4e0b\u8f7d\u3002<\/p>\n<p>\u8fd9\u907f\u514d\u4e86\u5728\u6bcf\u6b21\u63a8\u9001\u65f6\u91cd\u590d\u4f20\u8f93\u5927\u6587\u4ef6\u5185\u5bb9,\u5927\u5927\u51cf\u5c11\u4e86\u7f51\u7edc\u6d41\u91cf,\u63d0\u9ad8\u4e86Git\u7684\u6027\u80fd\u3002<\/p>\n<p>\u63a8\u9001\u66f4\u65b0\u6b65\u9aa4:<\/p>\n<ol>\n<li>\u786e\u4fdd\u5f53\u524d\u63d0\u4ea4\u4e2d\u5305\u542b\u4e86track\u4e3a\u5927\u6587\u4ef6\u7c7b\u578b\u7684\u6587\u4ef6,\u4f8b\u5982\u89c6\u9891\u6587\u4ef6\u3002<\/li>\n<li>\u8fd0\u884c\u547d\u4ee4<code>git push<\/code>\u63a8\u9001\u66f4\u65b0\u5230\u670d\u52a1\u5668:<\/li>\n<\/ol>\n<pre><code>bash\ngit push <\/code><\/pre>\n<ol start=\"3\">\n<li>\n<p>\u6b64\u65f6,\u53ea\u4f1a\u63a8\u9001\u5927\u6587\u4ef6\u7684\u6587\u4ef6\u6307\u9488\u548c\u5143\u6570\u636e,\u800c\u4e0d\u4f1a\u63a8\u9001\u5185\u5bb9\u3002<\/p>\n<\/li>\n<li>\n<p>\u5176\u4ed6\u5ba2\u6237\u7aef\u5728\u62c9\u53d6\u6b64\u66f4\u65b0\u540e,\u5982\u679c\u672c\u5730\u6ca1\u6709\u5927\u6587\u4ef6\u5185\u5bb9,\u4f1a\u81ea\u52a8\u4e0b\u8f7d\u3002\u5982\u679c\u5df2\u6709,\u4f1a\u5224\u65ad\u662f\u5426\u9700\u8981\u91cd\u65b0\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u3002<\/p>\n<\/li>\n<li>\n<p>\u53ef\u4ee5\u901a\u8fc7<code>git lfs track<\/code>\u548c<code>git lfs untrack<\/code>\u547d\u4ee4\u968f\u65f6\u8c03\u6574\u88abtrack\u7684\u6587\u4ef6\u7c7b\u578b,\u4ece\u800c\u63a7\u5236\u54ea\u4e9b\u6587\u4ef6\u5728\u63a8\u9001\u65f6\u9700\u8981\u901a\u8fc7Git LFS\u8fdb\u884c\u5927\u6587\u4ef6\u7ba1\u7406\u3002<\/p>\n<p>\u603b\u4e4b,Git LFS\u5b9e\u73b0\u4e86\u5bf9git push\u547d\u4ee4\u7684\u62d3\u5c55,\u5728\u63a8\u9001\u66f4\u65b0\u65f6\u53ef\u4ee5\u667a\u80fd\u5730\u5224\u65ad\u54ea\u4e9b\u6587\u4ef6\u9700\u8981\u63d0\u53d6\u5185\u5bb9\u800c\u53ea\u63a8\u9001\u5176\u6587\u4ef6\u6307\u9488\u3002<\/p>\n<p>\u8fd9\u4f7f\u6211\u4eec\u5728\u63a8\u9001\u65f6\u53ef\u4ee5\u50cf\u6807\u51c6Git\u4e00\u6837\u7b80\u5355,\u4f46\u5728\u5927\u6587\u4ef6\u7ba1\u7406\u4e0a\u66f4\u52a0\u9ad8\u6548,\u65e2\u4fdd\u8bc1\u4e86Git\u7684\u6027\u80fd,\u4e5f\u4e0d\u5931\u53bb\u6587\u4ef6\u7684\u5386\u53f2\u8bb0\u5f55\u3002<\/p>\n<p>\u516d\u3001\u62c9\u53d6\u66f4\u65b0\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u200b       \u901a\u8fc7<code>git pull<\/code>\u547d\u4ee4\u4ece\u670d\u52a1\u5668\u62c9\u53d6\u66f4\u65b0\u3002<\/p>\n<p>\u200b       \u5982\u679c\u672c\u5730\u6ca1\u6709\u67d0\u4e2a\u5927\u6587\u4ef6,Git LFS\u4f1a\u81ea\u52a8\u4e0b\u8f7d\u5b83\u7684\u5185\u5bb9\u3002<\/p>\n<p>\u200b       \u5f53\u6267\u884c<code>git pull<\/code>\u547d\u4ee4\u4ece\u670d\u52a1\u5668\u62c9\u53d6\u66f4\u65b0\u65f6,Git LFS\u4f1a\u68c0\u6d4b\u5f53\u524d\u63d0\u4ea4\u4e2d\u54ea\u4e9b\u6587\u4ef6\u88abtrack\u4e3a\u5927\u6587\u4ef6\u3002<\/p>\n<p>\u200b       \u5bf9\u4e8e\u8fd9\u4e9b\u5927\u6587\u4ef6,\u4f1a\u5224\u65ad\u672c\u5730\u662f\u5426\u5df2\u6709\u5176\u5185\u5bb9:<\/p>\n<ul>\n<li>\u5982\u679c\u672c\u5730\u6ca1\u6709\u8fd9\u4e9b\u5927\u6587\u4ef6\u7684\u5185\u5bb9,\u4f1a\u81ea\u52a8\u4eceGit LFS\u7684\u5927\u6587\u4ef6\u5b58\u50a8\u670d\u52a1\u5668\u4e0b\u8f7d\u5185\u5bb9\u3002<br \/>\n- \u5982\u679c\u672c\u5730\u5df2\u6709,\u4f1a\u5224\u65ad\u7248\u672c\u662f\u5426\u6700\u65b0\u3002\u5982\u679c\u4e0d\u662f\u6700\u65b0\u7248\u672c,\u4f1a\u4e0b\u8f7d\u6700\u65b0\u5185\u5bb9\u3002<br \/>\n- \u5982\u679c\u672c\u5730\u5df2\u662f\u6700\u65b0,\u5219\u4e0d\u9700\u8981\u91cd\u65b0\u4e0b\u8f7d\u3002<\/li>\n<li>\u8fd9\u6837,\u907f\u514d\u4e86\u5728\u6bcf\u6b21\u62c9\u53d6\u65f6\u91cd\u590d\u4e0b\u8f7d\u5927\u6587\u4ef6\u5185\u5bb9,\u4f18\u5316\u4e86\u7f51\u7edc\u6d41\u91cf\u3002<\/li>\n<li>\u53ea\u6709\u5f53\u5927\u6587\u4ef6\u5185\u5bb9\u771f\u7684\u53d1\u751f\u53d8\u5316\u65f6,\u624d\u4f1a\u89e6\u53d1\u91cd\u65b0\u4e0b\u8f7d\u3002<\/li>\n<li>\u62c9\u53d6\u66f4\u65b0\u7684\u6b65\u9aa4:\n<ol>\n<li>\u8fd0\u884c<code>git pull<\/code>\u547d\u4ee4\u4ece\u670d\u52a1\u5668\u62c9\u53d6\u66f4\u65b0:<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<pre><code>bash\ngit pull <\/code><\/pre>\n<ol start=\"2\">\n<li>Git LFS\u4f1a\u68c0\u6d4b\u5f53\u524d\u63d0\u4ea4\u4e2d\u54ea\u4e9b\u6587\u4ef6\u88abtrack\u4e3a\u5927\u6587\u4ef6,\u5e76\u5224\u65ad\u672c\u5730\u662f\u5426\u5df2\u6709\u5185\u5bb9\u3002<\/li>\n<li>\u5982\u679c\u672c\u5730\u6ca1\u6709\u6216\u4e0d\u662f\u6700\u65b0\u7248\u672c,\u4f1a\u81ea\u52a8\u89e6\u53d1\u4e0b\u8f7dtrack\u6587\u4ef6\u7c7b\u578b\u7684\u6700\u65b0\u6587\u4ef6\u5185\u5bb9\u3002<\/li>\n<li>\u53ef\u4ee5\u901a\u8fc7<code>git lfs track<\/code>\u548c<code>git lfs untrack<\/code>\u547d\u4ee4\u968f\u65f6\u8c03\u6574\u88abtrack\u7684\u6587\u4ef6\u7c7b\u578b,\u63a7\u5236\u4e0b\u8f7d\u884c\u4e3a\u3002<\/li>\n<li>\u4e5f\u53ef\u4ee5\u901a\u8fc7\u6e05\u9664\u5927\u6587\u4ef6\u7f13\u5b58,\u5f3a\u5236\u91cd\u65b0\u4e0b\u8f7d\u6240\u6709track\u6587\u4ef6\u7c7b\u578b\u7684\u6700\u65b0\u5185\u5bb9\u3002\u4f8b\u5982:<\/li>\n<\/ol>\n<pre><code>bash\ngit lfs prune\ngit pull<\/code><\/pre>\n<p>\u603b\u4e4b,Git LFS\u62d3\u5c55\u4e86<code>git pull<\/code>\u547d\u4ee4,\u53ef\u4ee5\u5728\u62c9\u53d6\u8fc7\u7a0b\u4e2d\u81ea\u52a8\u7ba1\u7406\u5927\u6587\u4ef6,\u5224\u65ad\u662f\u5426\u9700\u8981\u4e0b\u8f7d\u6700\u65b0\u5185\u5bb9\u3002<\/p>\n<p>\u8fd9\u4f7f\u6211\u4eec\u5728\u62c9\u53d6\u66f4\u65b0\u65f6,\u53ef\u4ee5\u50cf\u6807\u51c6Git\u4e00\u6837\u7b80\u5355,\u4f46\u540c\u65f6\u4e5f\u81ea\u52a8\u5b8c\u6210\u4e86\u5927\u6587\u4ef6\u7ba1\u7406,\u65e0\u9700\u624b\u52a8\u89e6\u53d1\u4e0b\u8f7d\u3002<\/p>\n<p>\u4e03\u3001\u7ba1\u7406\u5927\u6587\u4ef6\u3002<\/p>\n<p>\u200b       \u53ef\u4ee5\u901a\u8fc7<code>git lfs ls-files<\/code>\u3001<code>git lfs migrate<\/code>\u3001<code>git lfs unlock<\/code>\u3001<code>git lfs prune<\/code>\u7b49\u547d\u4ee4\u7ba1\u7406\u88abtrack\u7684\u5927\u6587\u4ef6\u3002<\/p>\n<p><code>git lfs ls-files<\/code>:\u5217\u51fa\u88abtrack\u7684\u5927\u6587\u4ef6\u3002\u53ef\u4ee5\u901a\u8fc7\u6587\u4ef6\u540d,\u6587\u4ef6\u6a21\u5f0f\u548c\u63d0\u4ea4SHA\u6765\u8fc7\u6ee4\u5217\u8868\u3002<\/p>\n<p>git lfs migrate<code>:\u5c06\u6307\u5b9a\u63d0\u4ea4\u8303\u56f4\u5185\u7684\u5927\u6587\u4ef6\u8f6c\u6362\u4e3aGit LFS\u7ba1\u7406\u7684\u6587\u4ef6\u3002\u8fd9\u5bf9\u5df2\u6709\u5b58\u50a8\u5e93\u975e\u5e38\u6709\u7528,\u53ef\u4ee5 retrospectively\u5c06\u8fc7\u53bb\u63d0\u4ea4\u7684\u5927\u6587\u4ef6\u8f6c\u6362\u4e3aLFS\u6587\u4ef6\u3002<\/code><\/p>\n<p>git lfs clean`:\u6e05\u9664\u4efb\u4f55\u8fc7\u671f\u6216\u672a\u4f7f\u7528\u7684\u5927\u6587\u4ef6\u7f13\u5b58\u5185\u5bb9\u3002\u8fd9\u6709\u52a9\u4e8e\u6e05\u7406\u786c\u76d8\u7a7a\u95f4\u3002<\/p>\n<p><code>git lfs prune<\/code>:\u6e05\u9664\u6240\u6709\u7f13\u5b58\u7684\u5927\u6587\u4ef6\u5185\u5bb9\u3002\u8fd9\u4f1a\u5f3a\u5236\u91cd\u65b0\u4e0b\u8f7d\u6240\u6709track\u6587\u4ef6\u7c7b\u578b\u7684\u6700\u65b0\u5185\u5bb9\u3002<\/p>\n<p><code>git lfs unlock<\/code>:\u89e3\u9501\u88ab\u9501\u5b9a\u7684\u5927\u6587\u4ef6\u3002\u5982\u679c\u6587\u4ef6\u88ab\u5176\u4ed6\u8fdb\u7a0b\u9501\u5b9a,\u65e0\u6cd5\u4fee\u6539\u6216\u5220\u9664,\u8fd9\u5f88\u6709\u7528\u3002<\/p>\n<p><code>git lfs rm<\/code>:\u4eceGit LFS\u7ba1\u7406\u4e2d\u5220\u9664\u5927\u6587\u4ef6\u3002\u8fd9\u4f1a\u5728\u4e0b\u6b21\u63a8\u9001\u65f6,\u4eceGit LFS\u670d\u52a1\u5668\u4e2d\u5b9e\u9645\u5220\u9664\u5927\u6587\u4ef6\u5185\u5bb9\u3002<\/p>\n<p>\u4f8b\u5982:<\/p>\n<pre><code>bash\n# \u5217\u51fa\u6240\u6709\u88abtrack\u7684PNG\u6587\u4ef6\ngit lfs ls-files &quot;*.png&quot;\n\n# \u8f6c\u6362\u8fc7\u53bb5\u6b21\u63d0\u4ea4\u4e2d\u7684\u5927\u6587\u4ef6\u4e3aLFS\ngit lfs migrate --include=&quot;*.psd&quot; HEAD~5..HEAD \n\n# \u6e05\u9664\u6240\u6709\u7f13\u5b58\u7684\u5927\u6587\u4ef6\u5185\u5bb9\ngit lfs prune \n\n# \u89e3\u9501\u6587\u4ef6\u540d\u5305\u542b&quot;image&quot;\u7684\u6587\u4ef6\ngit lfs unlock &quot;image*&quot;\n\n# \u4eceGit LFS\u7ba1\u7406\u4e2d\u5220\u9664\u6587\u4ef6\u540d\u4ee5&quot;tmp&quot;\u5f00\u5934\u7684\u6587\u4ef6 \ngit lfs rm &quot;tmp*&quot;<\/code><\/pre>\n<p>\u8fd9\u4e9b\u547d\u4ee4\u4e3a\u6211\u4eec\u7ba1\u7406\u548c\u7ef4\u62a4\u88abGit LFS track\u7684\u5927\u6587\u4ef6\u63d0\u4f9b\u4e86\u5f88\u5927\u4fbf\u5229\u3002<\/p>\n<p>\u65e0\u8bba\u662f\u6e05\u7406\u8fc7\u671f\u6587\u4ef6,\u89e3\u51b3\u88ab\u9501\u5b9a\u6587\u4ef6\u7684\u95ee\u9898,\u8fd8\u662f\u4ece\u7ba1\u7406\u4e2d\u5f7b\u5e95\u5220\u9664\u4e0d\u518d\u9700\u8981\u7684\u6587\u4ef6,\u90fd\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684Git LFS\u547d\u4ee4\u6765\u5b9e\u73b0\u3002<\/p>\n<p>\u8fd9\u4e9b\u547d\u4ee4\u548cGit LFS\u7684\u5176\u4ed6\u529f\u80fd\u4e00\u8d77,\u4f7f\u5f97Git LFS\u6210\u4e3a\u4e00\u4e2a\u975e\u5e38\u5b8c\u5584\u548c\u5f3a\u5927\u7684\u5927\u6587\u4ef6\u7ba1\u7406\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<p>\u4f7f\u7528Git LFS,\u6211\u4eec\u65e0\u9700\u5b66\u4e60\u548c\u638c\u63e1\u8fc7\u591a\u65b0\u6982\u5ff5,\u5c31\u53ef\u4ee5\u9ad8\u6548\u5730\u7ba1\u7406Git\u5b58\u50a8\u5e93\u4e2d\u7684\u5927\u6587\u4ef6,\u5e76\u4f18\u5316\u5b58\u50a8\u5e93\u7684\u4f53\u79ef\u548c\u6027\u80fd\u3002<\/p>\n<p>\u603b\u4e4b,Git LFS\u662fGit\u7684\u4e00\u4e2a\u975e\u5e38\u6709\u7528\u7684\u6269\u5c55,\u53ef\u4ee5\u9ad8\u6548\u7248\u672c\u63a7\u5236\u5927\u6587\u4ef6,\u4f18\u5316Git\u7684\u6027\u80fd\u3002<\/p>\n<p>\u901a\u8fc7\u7b80\u5355\u7684\u547d\u4ee4\u5c31\u53ef\u4ee5\u8f7b\u677e\u7ba1\u7406\u5927\u6587\u4ef6,\u8fd9\u4f7f\u5f97\u6211\u4eec\u7684Git\u7248\u672c\u63a7\u5236\u7684\u4f53\u9a8c\u66f4\u52a0\u5b8c\u5584\u3002<\/p>\n<h1><font color=red>\u5e0c\u671b\u6b64\u6587\u7ae0\u53ef\u4ee5\u5e2e\u52a9\u5927\u5bb6\u5bf9Git LFS\u6709\u4e00\u4e2a\u7cfb\u7edf\u548c\u6df1\u5165\u7684\u4e86\u89e3\u3002<\/font><\/h1>\n<p>\u7ed9\u4e2a\u597d\u8bc4\uff0cO(\u2229_\u2229)O\u54c8\u54c8~\u611f\u8c22\uff0c\u54c8\u54c8\u54c8\u54c8<\/p>\n<p>\u6700\u540e\u5927\u5bb6\u770b\u5b8c\u6211\u7684\u535a\u5ba2\u6700\u8d77\u7801\u77e5\u9053\u4e86\uff1a<\/p>\n<p>Git LFS\u662fGit\u7684\u6269\u5c55,\u7528\u4e8e\u4f18\u5316\u7ba1\u7406\u5927\u6587\u4ef6\u3002<\/p>\n<p>\u5b83\u4e3b\u8981\u6709\u4ee5\u4e0b\u529f\u80fd:<\/p>\n<ol>\n<li>\n<p>\u63d0\u53d6\u5927\u6587\u4ef6\u5185\u5bb9\u3002\u5c06\u5927\u6587\u4ef6\u5185\u5bb9\u4eceGit\u5b58\u50a8\u5e93\u4e2d\u63d0\u53d6\u51fa\u6765,\u53ea\u4fdd\u5b58\u6587\u4ef6\u6307\u9488\u548c\u5143\u6570\u636e,\u51cf\u5c0f\u4ed3\u5e93\u5927\u5c0f\u548c\u4f18\u5316\u7f51\u7edc\u6d41\u91cf\u3002<\/p>\n<\/li>\n<li>\n<p>\u4fdd\u7559\u6587\u4ef6\u5386\u53f2\u3002\u901a\u8fc7\u6587\u4ef6\u6307\u9488,\u4ecd\u7136\u53ef\u4ee5\u5b9e\u73b0\u5927\u6587\u4ef6\u7684\u7248\u672c\u63a7\u5236\u548c\u67e5\u770b\u5386\u53f2\u4fee\u6539\u3002<\/p>\n<\/li>\n<li>\n<p>\u81ea\u52a8\u4e0b\u8f7d\u3002\u5728\u62c9\u53d6\u66f4\u65b0\u65f6,\u4f1a\u81ea\u52a8\u5224\u65ad\u662f\u5426\u9700\u8981\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684\u5927\u6587\u4ef6\u5185\u5bb9\u3002\u53ea\u6709\u5f53\u5185\u5bb9\u771f\u7684\u53d1\u751f\u53d8\u5316\u65f6\u624d\u4f1a\u89e6\u53d1\u4e0b\u8f7d\u3002<\/p>\n<\/li>\n<li>\n<p>\u6807\u51c6Git\u5de5\u4f5c\u6d41\u3002\u65e0\u9700\u5b66\u4e60\u65b0\u547d\u4ee4\u6216\u5de5\u5177,\u53ef\u4ee5\u50cf\u6807\u51c6Git\u4e00\u6837\u8f7b\u677e\u7ba1\u7406\u5927\u6587\u4ef6\u3002<\/p>\n<\/li>\n<li>\n<p>\u7ba1\u7406\u5927\u6587\u4ef6\u3002\u63d0\u4f9b<code>git lfs ls-files<\/code>\u3001<code>git lfs migrate<\/code>\u3001<code>git lfs prune<\/code>\u7b49\u547d\u4ee4\u4e13\u95e8\u7528\u4e8e\u7ba1\u7406\u5927\u6587\u4ef6\u3002Git LFS\u7684\u5de5\u4f5c\u539f\u7406\u662f:\u901a\u8fc7<code>git lfs track<\/code>\u547d\u4ee4\u6307\u5b9a\u9700\u8981\u7ba1\u7406\u7684\u5927\u6587\u4ef6\u7c7b\u578b,Git LFS\u63d0\u53d6\u8fd9\u4e9b\u6587\u4ef6\u5185\u5bb9,\u53ea\u5728Git\u4e2d\u4fdd\u5b58\u5176\u6587\u4ef6\u6307\u9488\u3002\u5728\u63a8\u9001\u548c\u62c9\u53d6\u63d0\u4ea4\u65f6,\u53ea\u64cd\u4f5c\u8fd9\u4e9b\u6587\u4ef6\u6307\u9488,\u5b9e\u73b0\u7248\u672c\u63a7\u5236\u3002\u53ea\u6709\u5f53\u5927\u6587\u4ef6\u5185\u5bb9\u53d1\u751f\u53d8\u5316\u65f6,\u624d\u4f1a\u89e6\u53d1\u5185\u5bb9\u4e0b\u8f7d\u3002<\/p>\n<p>\u4f7f\u7528Git LFS\u4e3b\u8981\u5206\u4e3a\u4ee5\u4e0b\u6b65\u9aa4:<\/p>\n<ol>\n<li>\n<p>\u5b89\u88c5Git LFS\u3002\u4e0b\u8f7d\u5e76\u5b89\u88c5\u5bf9\u5e94\u7cfb\u7edf\u7684\u5b89\u88c5\u5305\u3002<\/p>\n<\/li>\n<li>\n<p>\u521d\u59cb\u5316\u3002\u5728\u9700\u8981\u4f7f\u7528\u7684\u5b58\u50a8\u5e93\u4e2d\u8fd0\u884c<code>git lfs install<\/code>\u8fdb\u884c\u521d\u59cb\u5316\u3002<\/p>\n<\/li>\n<li>\n<p>Track\u6587\u4ef6\u3002\u4f7f\u7528<code>git lfs track<\/code>\u6307\u5b9a\u9700\u8981\u7ba1\u7406\u7684\u5927\u6587\u4ef6\u7c7b\u578b\u3002<\/p>\n<\/li>\n<li>\n<p>\u63d0\u4ea4\u66f4\u65b0\u3002\u4f7f\u7528<code>git add<\/code>\u548c<code>git commit<\/code>\u63d0\u4ea4\u66f4\u65b0\u3002<\/p>\n<\/li>\n<li>\n<p>\u63a8\u9001\u548c\u62c9\u53d6\u3002\u4f7f\u7528<code>git push<\/code>\u548c<code>git pull<\/code>\u63a8\u9001\u548c\u62c9\u53d6\u66f4\u65b0\u3002Git LFS\u4f1a\u81ea\u52a8\u7ba1\u7406\u5927\u6587\u4ef6\u5185\u5bb9\u3002<\/p>\n<\/li>\n<li>\n<p>\u7ba1\u7406\u5927\u6587\u4ef6\u3002\u4f7f\u7528<code>git lfs prune<\/code>\u3001<code>git lfs migrate<\/code>\u7b49\u547d\u4ee4\u7ba1\u7406\u5927\u6587\u4ef6\u3002<\/p>\n<p>Git LFS\u4f7f\u6211\u4eec\u53ef\u4ee5\u50cf\u6807\u51c6Git\u4e00\u6837\u7b80\u5355\u5730\u7ba1\u7406\u5305\u542b\u5927\u6587\u4ef6\u7684\u5b58\u50a8\u5e93,\u4f46\u5728\u80cc\u540e\u5b9e\u73b0\u4e86\u5927\u6587\u4ef6\u5185\u5bb9\u7684\u667a\u80fd\u7ba1\u7406\u3002\u8fd9\u6781\u5927\u5730\u4f18\u5316\u4e86\u6211\u4eec\u7684Git\u4f53\u9a8c,\u65e0\u9700\u9891\u7e41\u5730\u624b\u52a8\u7ba1\u7406\u5927\u6587\u4ef6\u7684\u4e0b\u8f7d\u548c\u5b58\u50a8\u3002<\/p>\n<p>\u5e0c\u671b\u6b64\u603b\u7ed3\u80fd\u5e2e\u52a9\u5927\u5bb6\u5bf9Git LFS\u6709\u4e00\u4e2a\u6574\u4f53\u548c\u6df1\u5165\u7684\u7406\u89e3\u3002O(\u2229_\u2229)O\u54c8\u54c8~<\/p>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u5199\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u662f\u9879\u76ee\u4e2d\u9700\u8981\u642d\u5efa\u81ea\u5df1\u7684Git\u670d\u52a1\u5668\uff0c\u56e0\u4e3a\u516c\u53f8\u90e8\u7f72\u7684\u4ea7\u54c1\u662f\u5728\u79bb\u7ebf\u60c5\u51b5\u4e0b\u548c\u516c\u53f8\u5185\u90e8\u4f7f\u7528\u81ea\u5df1\u7684G [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_mi_skip_tracking":false},"categories":[1],"tags":[],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\uff08Share: git lfs use and installation tutorial, through the article can optimize our Git\uff09 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug<\/title>\n<meta name=\"description\" content=\"Share: git lfs use and installation tutorial, through the article can optimize our Git\uff0c\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\uff08Share: git lfs use and installation tutorial, through the article can optimize our Git\uff09 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\" \/>\n<meta property=\"og:description\" content=\"Share: git lfs use and installation tutorial, through the article can optimize our Git\uff0c\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/\" \/>\n<meta property=\"og:site_name\" content=\"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-07T01:18:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-07T02:06:00+00:00\" \/>\n<meta name=\"author\" content=\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/\",\"url\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/\",\"name\":\"\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\uff08Share: git lfs use and installation tutorial, through the article can optimize our Git\uff09 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\",\"isPartOf\":{\"@id\":\"https:\/\/zhaocunwei.co.uk\/#website\"},\"datePublished\":\"2023-05-07T01:18:56+00:00\",\"dateModified\":\"2023-05-07T02:06:00+00:00\",\"author\":{\"@id\":\"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4\"},\"description\":\"Share: git lfs use and installation tutorial, through the article can optimize our Git\uff0c\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\",\"breadcrumb\":{\"@id\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/zhaocunwei.co.uk\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\uff08Share: git lfs use and installation tutorial, through the article can optimize our Git\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/#website\",\"url\":\"https:\/\/zhaocunwei.co.uk\/\",\"name\":\"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug\",\"description\":\"This site shares programming bugs\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zhaocunwei.co.uk\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-CN\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4\",\"name\":\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g\",\"caption\":\"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46\"},\"sameAs\":[\"http:\/\/zhaocunwei.co.uk\"],\"url\":\"https:\/\/zhaocunwei.co.uk\/index.php\/author\/18500103508163-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\uff08Share: git lfs use and installation tutorial, through the article can optimize our Git\uff09 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","description":"Share: git lfs use and installation tutorial, through the article can optimize our Git\uff0c\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\uff08Share: git lfs use and installation tutorial, through the article can optimize our Git\uff09 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","og_description":"Share: git lfs use and installation tutorial, through the article can optimize our Git\uff0c\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git","og_url":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/","og_site_name":"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","article_published_time":"2023-05-07T01:18:56+00:00","article_modified_time":"2023-05-07T02:06:00+00:00","author":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/","url":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/","name":"\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\uff08Share: git lfs use and installation tutorial, through the article can optimize our Git\uff09 - \u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","isPartOf":{"@id":"https:\/\/zhaocunwei.co.uk\/#website"},"datePublished":"2023-05-07T01:18:56+00:00","dateModified":"2023-05-07T02:06:00+00:00","author":{"@id":"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4"},"description":"Share: git lfs use and installation tutorial, through the article can optimize our Git\uff0c\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git","breadcrumb":{"@id":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zhaocunwei.co.uk\/index.php\/2023\/05\/07\/share-git-lfs-use-and-installation-tutorial-through-the-article\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/zhaocunwei.co.uk\/"},{"@type":"ListItem","position":2,"name":"\u5206\u4eab\uff1agit\u7684lfs\u7684\u7528\u9014\u53ca\u5b89\u88c5\u6559\u7a0b\uff0c\u901a\u8fc7\u6587\u7ae0\u53ef\u4ee5\u4f18\u5316\u54b1\u4eec\u5f97Git\uff08Share: git lfs use and installation tutorial, through the article can optimize our Git\uff09"}]},{"@type":"WebSite","@id":"https:\/\/zhaocunwei.co.uk\/#website","url":"https:\/\/zhaocunwei.co.uk\/","name":"\u672c\u7f51\u7ad9\u5206\u4eab\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u7684bug","description":"This site shares programming bugs","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zhaocunwei.co.uk\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-CN"},{"@type":"Person","@id":"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/dfb1dc0fc4a330c41908d477cd99c0b4","name":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46","image":{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/zhaocunwei.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4226cc1ca6640507df1d2d4ba3da7a62?s=96&d=mm&r=g","caption":"\u603b\u662f\u5e78\u798f\u7684\u8001\u8c4c\u8c46"},"sameAs":["http:\/\/zhaocunwei.co.uk"],"url":"https:\/\/zhaocunwei.co.uk\/index.php\/author\/18500103508163-com\/"}]}},"_links":{"self":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/480"}],"collection":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=480"}],"version-history":[{"count":1,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/480\/revisions"}],"predecessor-version":[{"id":481,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/480\/revisions\/481"}],"wp:attachment":[{"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhaocunwei.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}