{"id":54034,"date":"2023-06-04T13:47:43","date_gmt":"2023-06-04T05:47:43","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=54034"},"modified":"2023-06-04T13:47:43","modified_gmt":"2023-06-04T05:47:43","slug":"git-becareful","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/git-becareful.html","title":{"rendered":"\u4f7f\u7528Git \u4e2d\u8981\u6ce8\u610f\u7684\u4e8b"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | Git \u662f\u5f88\u68d2\u7684\uff0c\u6bcf\u4e2a\u4eba\u90fd\u5728\u4f7f\u7528\u5b83\uff0c\u4f60\u53ef\u4ee5\u7528\u51e0\u4e2a\u57fa\u672c\u547d\u4ee4\u5b8c\u6210\u4f60\u7684\u5927\u90e8\u5206\u5de5\u4f5c\u3002\u4f46\u5b83\u4e5f\u6709\u4e00\u4e9b\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u8ba9\u6211\u4eec\u89c9\u5f97\u6211\u4eec\u4e0d\u77e5\u9053\u6211\u4eec\u5728\u505a\u4ec0\u4e48\u3002 \n<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u5728 LinuxCon \u5317\u7f8e\u4f1a\u8bae\u4e0a FutureAdvisor \u7684 Corey Quinn \u8bf4\uff1a\u201cGit \u7684\u786e\u8ba9\u4f60\u53ef\u4ee5\u505a\u4e00\u4e9b\u8d85\u7ea7\u5f3a\u5927\u7684\u4e8b\u3002\u2018\u5f3a\u5927\u2019\uff0c\u5728\u8fd9\u6b21\u8bb2\u6f14\u4e2d\uff0c\u8fd9\u662f\u4e00\u79cd\u8bf4\u4f60\u611a\u8822\u7684\u59d4\u5a49\u8bf4\u6cd5\u201d\u3002\u5728\u4f7f\u7528 Git \u65f6\uff0c\u8c01\u6ca1\u6709\u7ecf\u5386\u8ba9\u4f60\u611f\u89c9\u81ea\u5df1\u50cf\u4e2a\u50bb\u5b50\u7684\u65f6\u523b\uff1f\u5f53\u7136\uff0cGit \u662f\u5f88\u68d2\u7684\uff0c\u6bcf\u4e2a\u4eba\u90fd\u5728\u4f7f\u7528\u5b83\uff0c\u4f60\u53ef\u4ee5\u7528\u51e0\u4e2a\u57fa\u672c\u547d\u4ee4\u5b8c\u6210\u4f60\u7684\u5927\u90e8\u5206\u5de5\u4f5c\u3002\u4f46\u5b83\u4e5f\u6709\u4e00\u4e9b\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u8ba9\u6211\u4eec\u89c9\u5f97\u6211\u4eec\u4e0d\u77e5\u9053\u6211\u4eec\u5728\u505a\u4ec0\u4e48\u3002<\/p>\n \u4f46\u8fd9\u771f\u7684\u5bf9\u6211\u4eec\u6765\u8bf4\u4e0d\u516c\u5e73\u3002\u6ca1\u6709\u4eba\u4f1a\u77e5\u9053\u4e00\u5207\uff0c\u6bcf\u4e2a\u4eba\u77e5\u9053\u7684\u90fd\u4e0d\u540c\u3002Quinn \u63d0\u9192\u6211\u4eec\uff1a\u201c\u5728\u6211\u8bb8\u591a\u8bb2\u6f14\u7684\u95ee\u7b54\u90e8\u5206\uff0c\u4eba\u4eec\u6709\u65f6\u4e3e\u624b\u8bf4\uff1a\u201c\u55ef\uff0c\u6211\u6709\u4e00\u4e2a\u50bb\u95ee\u9898\u3002\u201d \u4f60\u770b\u5230\u4eba\u4eec\u5728\u90a3\u91cc\u8bf4\uff1a\u201c\u662f\u554a\uff01\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u611a\u8822\u7684\u95ee\u9898\u201d\u3002\u4f46\u662f\u5f53\u4ed6\u4eec\u5f97\u5230\u7b54\u6848\u65f6\uff0c\u90a3\u4e9b\u8fd9\u4e48\u8bf4\u7684\u4eba\u4e5f\u6b63\u5728\u4f4e\u5934\u8bb0\u7b14\u8bb0\u3002<\/p>\n <\/p>\n Quinn \u5728\u6f14\u8bb2\u7684\u5f00\u59cb\u505a\u4e86\u4e00\u4e9b\u6709\u8da3\u7684\u6f14\u793a\uff0c\u6f14\u793a\u4e86\u4e00\u4e9b\u4f60\u53ef\u4ee5\u7528 Git \u505a\u5230\u7684\u53ef\u6015\u7684\u4e8b\u60c5\uff0c\u4f8b\u5982\u53d8\u57fa\u4e3b\u5e72\u7136\u540e\u8fdb\u884c\u5f3a\u5236\u63a8\u9001\u6765\u641e\u4e71\u6574\u4e2a\u9879\u76ee\u3001\u80e1\u4e71\u8f93\u5165\u4e00\u4e9b\u547d\u4ee4\u8ba9 git \u5410\u69fd\u3001\u63d0\u4ea4\u5927\u578b\u4e8c\u8fdb\u5236\u6587\u4ef6\u7b49\u3002\u7136\u540e\u4ed6\u6f14\u793a\u4e86\u5982\u4f55\u4f7f\u8fd9\u4e9b\u53ef\u6015\u7684\u4e8b\u60c5\u4e0d\u600e\u4e48\u53ef\u6015\uff0c\u5982\u66f4\u52a0\u660e\u667a\u5730\u7ba1\u7406\u5927\u578b\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002\u201c\u4f60\u53ef\u4ee5\u63d0\u4ea4\u5927\u578b\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u4f60\u53ef\u4ee5\u5728 Git \u4e2d\u66b4\u529b\u63d0\u4ea4\uff0c\u5982\u679c\u4f60\u9700\u8981\u5b58\u50a8\u5927\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u8fd9\u91cc\u6709\u4e24\u4e2a\u5de5\u5177\u4f1a\u53ef\u4ee5\u52a0\u901f\u8f7d\u5165\uff0c\u4e00\u4e2a\u662f git-annex\uff0c\u8fd9\u662f\u7531 Debian \u5f00\u53d1\u4eba\u5458 Joey Hess \u5f00\u53d1\u7684\uff0c\u800c git-lfs \u662f\u7531 GitHub \u652f\u6301\u7684\u3002\u201d<\/p>\n \u4f60\u7ecf\u5e38\u540c\u6837\u5730\u9519\u8bef\u8f93\u5165\u4e48\uff1f\u4f8b\u5982\uff0c\u5f53\u4f60\u60f3\u8981 git status <\/em>\u65f6\u5374\u8f93\u5165 git stitis <\/em> \uff1f Quinn \u8bf4\uff1a\u201c\u6211\u4eec\u90fd\u542c\u8bf4\u8fc7\u53d8\u57fa\u4e3b\u5e72\u7136\u540e\u5f3a\u5236\u63a8\u9001\u8fd9\u6837\u7684\u641e\u7b11\u6076\u4f5c\u5267\uff0c\u5b83\u4f1a\u6539\u53d8\u7248\u672c\u5386\u53f2\uff0c\u7a81\u7136\u53d1\u751f\u7684\u4e8b\u60c5\u8ba9\u6240\u6709\u4eba\u90fd\u63aa\u624b\u4e0d\u53ca\uff0c\u6bcf\u4e2a\u4eba\u90fd\u88ab\u5377\u5165\u4e86\u8fd9\u79cd\u6df7\u4e71\u5f53\u4e2d\u3002\u4e00\u7fa4\u9cb8\u9c7c\u88ab\u79f0\u4e3a\u201cpod\u201d\uff0c\u4e00\u7fa4\u4e4c\u9e26\u4e2d\u88ab\u79f0\u4e3a\u201c\u8c0b\u6740\u201d\uff0c\u4e00\u7fa4\u5f00\u53d1\u8005\u88ab\u79f0\u4e3a\u201c\u5408\u5e76\u51b2\u7a81\u201d\u2026\u2026\u66f4\u4e25\u91cd\u7684\u662f\uff0c\u5982\u679c\u6709\u4eba\u5e72\u4e86\u8fd9\u79cd\u4e8b\u60c5\uff0c\u4f60\u6709\u51e0\u4e2a\u9009\u62e9\u3002\u5305\u62ec\u4ece\u5907\u4efd\u4e2d\u6062\u590d\u4e3b\u5e72\uff0c\u8fd8\u539f\u63d0\u4ea4\uff1b\u6216\u8005\u628a\u8d23\u4efb\u4eba\u4ece\u5c4b\u9876\u4e0a\u5c16\u53eb\u7740\u6254\u4e0b\u53bb\u3002\u6216\u8005\uff0c\u91c7\u53d6\u4e00\u5b9a\u7684\u9884\u9632\u63aa\u65bd\u5e76\u4f7f\u7528\u4e00\u4e2a\u5e76\u4e0d\u77e5\u540d\u7684 Git \u529f\u80fd\u79f0\u4e3a\u5206\u652f\u4fdd\u62a4\u3002\u542f\u7528\u5206\u652f\u4fdd\u62a4\u540e\uff0c\u65e0\u6cd5\u5220\u9664\u6216\u5f3a\u5236\u63a8\u9001\u5206\u652f\uff0c\u5e76\u4e14\u5728\u63a5\u53d7\u524d\uff0c\u62c9\u53d6\u8bf7\u6c42\uff08pull request\uff09\u5fc5\u987b\u81f3\u5c11\u6709\u4e00\u4e2a\u5ba1\u6838\u3002\u201d<\/p>\n Quinn \u6f14\u793a\u4e86\u51e0\u4e2a\u66f4\u5947\u5999\u7684\u6709\u7528\u7684\u5de5\u5177\uff0c\u4f7f Git \u66f4\u9ad8\u6548\u548c\u4e07\u65e0\u4e00\u5931\uff0c\u5982 mr\u3001vcsh \u548c\u5b9a\u5236\u7684 shell \u63d0\u793a\u3002\u4f60\u53ef\u4ee5\u5728\u4e0b\u9762\u770b\u5230\u5b8c\u6574\u7684\u89c6\u9891\uff0c\u4e86\u89e3\u66f4\u591a\u6709\u8da3\u7684\u4e8b\u60c5\u3002<\/p>\n \uff08\u89c6\u9891\u9700\u81ea\u642d\u68af\u5b50\uff1a https:\/\/youtu.be\/zN1u5xZFFR8<\/a>\uff09<\/p>\n via: https:\/\/www.linux.com\/news\/event\/LinuxCon-Europe\/2016\/terrible-ideas-git-0<\/a><\/p>\n \u4f5c\u8005\uff1aCARLA SCHRODER<\/a> \u8bd1\u8005\uff1ageekpi<\/a> \u6821\u5bf9\uff1aBestony<\/a><\/p>\n \u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n \u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-8275-1.html<\/a><\/p>\n |