{"id":197,"date":"2023-04-14T12:55:53","date_gmt":"2023-04-14T04:55:53","guid":{"rendered":"https:\/\/btc354.com\/?p=197"},"modified":"2023-08-09T08:18:33","modified_gmt":"2023-08-09T00:18:33","slug":"git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4","status":"publish","type":"post","link":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/","title":{"rendered":"git\u5e38\u7528\u547d\u4ee4"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\">\u4ec0\u4e48\u662fgit\n\nGit\u662f\u4e00\u79cd\u5206\u5e03\u5f0f\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff0c\u7528\u4e8e\u7ba1\u7406\u8ba1\u7b97\u673a\u7a0b\u5e8f\u4ee3\u7801\u7684\u7248\u672c\u63a7\u5236\u548c\u534f\u4f5c\u3002\u5b83\u7531Linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u521b\u5efa\u8005Linus Torvalds\u57282005\u5e74\u5f00\u53d1\uff0c\u73b0\u5728\u5df2\u6210\u4e3a\u6700\u6d41\u884c\u7684\u7248\u672c\u63a7\u5236\u7cfb\u7edf\u4e4b\u4e00\uff0c\u88ab\u5e7f\u6cdb\u7528\u4e8e\u5f00\u6e90\u8f6f\u4ef6\u5f00\u53d1\u548c\u5546\u4e1a\u8f6f\u4ef6\u5f00\u53d1\u3002Git\u80fd\u591f\u8ddf\u8e2a\u4ee3\u7801\u7684\u5386\u53f2\u53d8\u5316\uff0c\u8ba9\u56e2\u961f\u534f\u4f5c\u66f4\u52a0\u65b9\u4fbf\uff0c\u540c\u65f6\u4e5f\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5206\u652f\u7ba1\u7406\u529f\u80fd\u3002\u7531\u4e8e\u5176\u4f18\u79c0\u7684\u6027\u80fd\u548c\u53ef\u6269\u5c55\u6027\uff0cGit\u5df2\u6210\u4e3a\u4e86\u5f00\u53d1\u4eba\u5458\u4e0d\u53ef\u6216\u7f3a\u7684\u5de5\u5177\u4e4b\u4e00\u3002<\/pre>\n\n\n<h3>\u57fa\u672c\u547d\u4ee4<\/h3>\n<ul>\n<li><code>git init<\/code>\uff1a\u521d\u59cb\u5316\u4e00\u4e2a Git \u4ed3\u5e93\u3002<\/li>\n<li><code>git clone<\/code>\uff1a\u514b\u9686\u4e00\u4e2a Git \u4ed3\u5e93\u5230\u672c\u5730\u3002<\/li>\n<li><code>git add<\/code>\uff1a\u6dfb\u52a0\u6587\u4ef6\u6216\u8005\u4fee\u6539\u5230\u6682\u5b58\u533a\u3002<\/li>\n<li><code>git commit<\/code>\uff1a\u63d0\u4ea4\u4ee3\u7801\u5230\u672c\u5730\u4ed3\u5e93\u3002<\/li>\n<li><code>git push<\/code>\uff1a\u5c06\u672c\u5730\u4ed3\u5e93\u7684\u4ee3\u7801\u63a8\u9001\u5230\u8fdc\u7a0b\u4ed3\u5e93\u3002<\/li>\n<li><code>git pull<\/code>\uff1a\u4ece\u8fdc\u7a0b\u4ed3\u5e93\u62c9\u53d6\u4ee3\u7801\u5230\u672c\u5730\u3002<\/li>\n<li><code>git status<\/code>\uff1a\u67e5\u770b Git \u4ed3\u5e93\u5f53\u524d\u72b6\u6001\u3002<\/li>\n<li><code>git log<\/code>\uff1a\u67e5\u770b Git \u63d0\u4ea4\u65e5\u5fd7\u3002<\/li>\n<\/ul>\n<h3>\u5206\u652f\u7ba1\u7406\u547d\u4ee4<\/h3>\n<ul>\n<li><code>git branch<\/code>\uff1a\u5217\u51fa\u6240\u6709\u672c\u5730\u5206\u652f\u3002<\/li>\n<li><code>git checkout<\/code>\uff1a\u5207\u6362\u5206\u652f\u3002<\/li>\n<li><code>git merge<\/code>\uff1a\u5c06\u6307\u5b9a\u5206\u652f\u5408\u5e76\u5230\u5f53\u524d\u5206\u652f\u3002<\/li>\n<li><code>git rebase<\/code>\uff1a\u5c06\u6307\u5b9a\u5206\u652f\u7684\u4fee\u6539\u5408\u5e76\u5230\u5f53\u524d\u5206\u652f\u3002<\/li>\n<li><code>git cherry-pick<\/code>\uff1a\u9009\u62e9\u67d0\u4e2a\u63d0\u4ea4\u5e76\u5c06\u5176\u5e94\u7528\u5230\u5f53\u524d\u5206\u652f\u3002<\/li>\n<\/ul>\n<h3>\u6807\u7b7e\u7ba1\u7406\u547d\u4ee4<\/h3>\n<ul>\n<li><code>git tag<\/code>\uff1a\u5217\u51fa\u6240\u6709\u6807\u7b7e\u3002<\/li>\n<li><code>git tag &lt;tagname&gt;<\/code>\uff1a\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6807\u7b7e\u3002<\/li>\n<li><code>git push --tags<\/code>\uff1a\u5c06\u6240\u6709\u6807\u7b7e\u63a8\u9001\u5230\u8fdc\u7a0b\u4ed3\u5e93\u3002<\/li>\n<li><code>git show &lt;tagname&gt;<\/code>\uff1a\u67e5\u770b\u6307\u5b9a\u6807\u7b7e\u7684\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<h3>\u9ad8\u7ea7\u547d\u4ee4<\/h3>\n<ul>\n<li><code>git stash<\/code>\uff1a\u6682\u5b58\u5f53\u524d\u7684\u5de5\u4f5c\u8fdb\u5ea6\u3002<\/li>\n<li><code>git reset<\/code>\uff1a\u91cd\u7f6e\u5f53\u524d\u5206\u652f\u7684 HEAD \u5230\u6307\u5b9a\u7684\u72b6\u6001\u3002<\/li>\n<li><code>git revert<\/code>\uff1a\u64a4\u9500\u67d0\u6b21\u63d0\u4ea4\u3002<\/li>\n<li><code>git blame<\/code>\uff1a\u67e5\u770b\u67d0\u4e2a\u6587\u4ef6\u7684\u8be6\u7ec6\u4fee\u6539\u8bb0\u5f55\u3002<\/li>\n<li><code>git reflog<\/code>\uff1a\u67e5\u770b Git \u7684\u64cd\u4f5c\u65e5\u5fd7\u3002<\/li>\n<\/ul>\n\n\n<pre class=\"wp-block-preformatted\">Git\u5e38\u7528\u7528\u6cd5\uff1a<\/pre>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-medium-font-size\"><code>git init\uff1a\u521d\u59cb\u5316\u4e00\u4e2a Git \u4ed3\u5e93\u3002\n\n# \u5728\u5f53\u524d\u76ee\u5f55\u4e0b\u521d\u59cb\u5316\u4e00\u4e2a Git \u4ed3\u5e93\ngit init\ngit add\uff1a\u6dfb\u52a0\u6587\u4ef6\u6216\u8005\u4fee\u6539\u5230\u6682\u5b58\u533a\u3002\n\n# \u6dfb\u52a0\u6307\u5b9a\u6587\u4ef6\u5230\u6682\u5b58\u533a\ngit add filename.txt\n\n# \u6dfb\u52a0\u6240\u6709\u6587\u4ef6\u5230\u6682\u5b58\u533a\ngit add .\ngit commit\uff1a\u63d0\u4ea4\u4ee3\u7801\u5230\u672c\u5730\u4ed3\u5e93\u3002\n\n# \u63d0\u4ea4\u4ee3\u7801\u5230\u672c\u5730\u4ed3\u5e93\ngit commit -m \"commit message\"\ngit push\uff1a\u5c06\u672c\u5730\u4ed3\u5e93\u7684\u4ee3\u7801\u63a8\u9001\u5230\u8fdc\u7a0b\u4ed3\u5e93\u3002\n\n# \u63a8\u9001\u4ee3\u7801\u5230\u8fdc\u7a0b\u4ed3\u5e93\u7684 master \u5206\u652f\ngit push origin master\ngit pull\uff1a\u4ece\u8fdc\u7a0b\u4ed3\u5e93\u62c9\u53d6\u4ee3\u7801\u5230\u672c\u5730\u3002\n\n# \u4ece\u8fdc\u7a0b\u4ed3\u5e93\u7684 master \u5206\u652f\u62c9\u53d6\u4ee3\u7801\u5230\u672c\u5730\ngit pull origin master\ngit branch\uff1a\u5217\u51fa\u6240\u6709\u672c\u5730\u5206\u652f\u3002\n\n# \u5217\u51fa\u6240\u6709\u672c\u5730\u5206\u652f\ngit branch\ngit checkout\uff1a\u5207\u6362\u5206\u652f\u3002\n\n# \u5207\u6362\u5230\u540d\u4e3a dev \u7684\u5206\u652f\ngit checkout dev\ngit merge\uff1a\u5c06\u6307\u5b9a\u5206\u652f\u5408\u5e76\u5230\u5f53\u524d\u5206\u652f\u3002\n\n# \u5c06\u540d\u4e3a dev \u7684\u5206\u652f\u5408\u5e76\u5230\u5f53\u524d\u5206\u652f\ngit merge dev\ngit tag\uff1a\u5217\u51fa\u6240\u6709\u6807\u7b7e\u3002\n\n# \u5217\u51fa\u6240\u6709\u6807\u7b7e\ngit tag\ngit stash\uff1a\u6682\u5b58\u5f53\u524d\u7684\u5de5\u4f5c\u8fdb\u5ea6\u3002\n\n# \u6682\u5b58\u5f53\u524d\u7684\u5de5\u4f5c\u8fdb\u5ea6\ngit stash\n\n# git\u5f3a\u5236\u63d0\u4ea4\u5230\u8fdc\u7a0b\u5e93\ngit add .\ngit commit -m \"honban git release\"\ngit push -f origin master\n\n# git \u8fdc\u7a0b\u670d\u52a1\u5668\u5f3a\u5236\u8986\u76d6\u672c\u5730\ngit fetch --all\ngit reset --hard origin\/master\ngit pull<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4ec0\u4e48\u662fgit Git\u662f\u4e00\u79cd\u5206\u5e03\u5f0f\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff0c\u7528\u4e8e\u7ba1\u7406\u8ba1\u7b97\u673a\u7a0b\u5e8f\u4ee3\u7801\u7684\u7248\u672c\u63a7\u5236\u548c\u534f\u4f5c\u3002\u5b83\u7531Linux\u64cd\u4f5c\u7cfb\u7edf\u7684 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":202,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-197","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-git"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>git\u5e38\u7528\u547d\u4ee4 - \u4e2a\u4eba\u5b66\u4e60\u7ad9\u70b9<\/title>\n<meta name=\"description\" content=\"\u5b66\u4e60 Git \u5e38\u7528\u547d\u4ee4\uff0c\u5305\u62ec Git \u7684\u521d\u59cb\u5316\u3001\u6dfb\u52a0\u3001\u63d0\u4ea4\u3001\u63a8\u9001\u3001\u62c9\u53d6\u3001\u5206\u652f\u7ba1\u7406\u3001\u6807\u7b7e\u7ba1\u7406\u3001\u9ad8\u7ea7\u547d\u4ee4\u7b49\u3002\u901a\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u4f60\u5c06\u4e86\u89e3\u5230 Git \u547d\u4ee4\u7684\u7528\u6cd5\u4ee5\u53ca\u5e38\u89c1\u7684\u5e94\u7528\u573a\u666f\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git\u5e38\u7528\u547d\u4ee4\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"git\u5e38\u7528\u547d\u4ee4 - \u4e2a\u4eba\u5b66\u4e60\u7ad9\u70b9\" \/>\n<meta property=\"og:description\" content=\"\u5b66\u4e60 Git \u5e38\u7528\u547d\u4ee4\uff0c\u5305\u62ec Git \u7684\u521d\u59cb\u5316\u3001\u6dfb\u52a0\u3001\u63d0\u4ea4\u3001\u63a8\u9001\u3001\u62c9\u53d6\u3001\u5206\u652f\u7ba1\u7406\u3001\u6807\u7b7e\u7ba1\u7406\u3001\u9ad8\u7ea7\u547d\u4ee4\u7b49\u3002\u901a\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u4f60\u5c06\u4e86\u89e3\u5230 Git \u547d\u4ee4\u7684\u7528\u6cd5\u4ee5\u53ca\u5e38\u89c1\u7684\u5e94\u7528\u573a\u666f\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git\u5e38\u7528\u547d\u4ee4\/\" \/>\n<meta property=\"og:site_name\" content=\"\u4e2a\u4eba\u5b66\u4e60\u7ad9\u70b9\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-14T04:55:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-09T00:18:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/btc354.com\/wp-content\/uploads\/2023\/04\/git-github.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"674\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"tan, keito\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tqd354\" \/>\n<meta name=\"twitter:site\" content=\"@tqd354\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"tan, keito\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/\"},\"author\":{\"name\":\"tan, keito\",\"@id\":\"https:\\\/\\\/btc354.com\\\/#\\\/schema\\\/person\\\/00e13932981b0e8ae19d3ae6b5734178\"},\"headline\":\"git\u5e38\u7528\u547d\u4ee4\",\"datePublished\":\"2023-04-14T04:55:53+00:00\",\"dateModified\":\"2023-08-09T00:18:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/\"},\"wordCount\":7,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/btc354.com\\\/#\\\/schema\\\/person\\\/00e13932981b0e8ae19d3ae6b5734178\"},\"image\":{\"@id\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/btc354.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/git-github.png\",\"articleSection\":[\"git\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/\",\"url\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/\",\"name\":\"git\u5e38\u7528\u547d\u4ee4 - \u4e2a\u4eba\u5b66\u4e60\u7ad9\u70b9\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/btc354.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/btc354.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/git-github.png\",\"datePublished\":\"2023-04-14T04:55:53+00:00\",\"dateModified\":\"2023-08-09T00:18:33+00:00\",\"description\":\"\u5b66\u4e60 Git \u5e38\u7528\u547d\u4ee4\uff0c\u5305\u62ec Git \u7684\u521d\u59cb\u5316\u3001\u6dfb\u52a0\u3001\u63d0\u4ea4\u3001\u63a8\u9001\u3001\u62c9\u53d6\u3001\u5206\u652f\u7ba1\u7406\u3001\u6807\u7b7e\u7ba1\u7406\u3001\u9ad8\u7ea7\u547d\u4ee4\u7b49\u3002\u901a\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u4f60\u5c06\u4e86\u89e3\u5230 Git \u547d\u4ee4\u7684\u7528\u6cd5\u4ee5\u53ca\u5e38\u89c1\u7684\u5e94\u7528\u573a\u666f\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/#primaryimage\",\"url\":\"https:\\\/\\\/btc354.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/git-github.png\",\"contentUrl\":\"https:\\\/\\\/btc354.com\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/git-github.png\",\"width\":1200,\"height\":674},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/2023\\\/04\\\/14\\\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/btc354.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"git\u5e38\u7528\u547d\u4ee4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/btc354.com\\\/#website\",\"url\":\"https:\\\/\\\/btc354.com\\\/\",\"name\":\"\u4e2a\u4eba\u5b66\u4e60\u7ad9\u70b9\",\"description\":\"tiro354\",\"publisher\":{\"@id\":\"https:\\\/\\\/btc354.com\\\/#\\\/schema\\\/person\\\/00e13932981b0e8ae19d3ae6b5734178\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/btc354.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/btc354.com\\\/#\\\/schema\\\/person\\\/00e13932981b0e8ae19d3ae6b5734178\",\"name\":\"tan, keito\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/btc354.com\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/cropped-tiro354_logo7-1.png\",\"url\":\"https:\\\/\\\/btc354.com\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/cropped-tiro354_logo7-1.png\",\"contentUrl\":\"https:\\\/\\\/btc354.com\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/cropped-tiro354_logo7-1.png\",\"width\":1023,\"height\":1023,\"caption\":\"tan, keito\"},\"logo\":{\"@id\":\"https:\\\/\\\/btc354.com\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/cropped-tiro354_logo7-1.png\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/tqd354\"],\"url\":\"https:\\\/\\\/btc354.com\\\/index.php\\\/author\\\/tanqidong\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"git\u5e38\u7528\u547d\u4ee4 - \u4e2a\u4eba\u5b66\u4e60\u7ad9\u70b9","description":"\u5b66\u4e60 Git \u5e38\u7528\u547d\u4ee4\uff0c\u5305\u62ec Git \u7684\u521d\u59cb\u5316\u3001\u6dfb\u52a0\u3001\u63d0\u4ea4\u3001\u63a8\u9001\u3001\u62c9\u53d6\u3001\u5206\u652f\u7ba1\u7406\u3001\u6807\u7b7e\u7ba1\u7406\u3001\u9ad8\u7ea7\u547d\u4ee4\u7b49\u3002\u901a\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u4f60\u5c06\u4e86\u89e3\u5230 Git \u547d\u4ee4\u7684\u7528\u6cd5\u4ee5\u53ca\u5e38\u89c1\u7684\u5e94\u7528\u573a\u666f\u3002","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:\/\/btc354.com\/index.php\/2023\/04\/14\/git\u5e38\u7528\u547d\u4ee4\/","og_locale":"zh_CN","og_type":"article","og_title":"git\u5e38\u7528\u547d\u4ee4 - \u4e2a\u4eba\u5b66\u4e60\u7ad9\u70b9","og_description":"\u5b66\u4e60 Git \u5e38\u7528\u547d\u4ee4\uff0c\u5305\u62ec Git \u7684\u521d\u59cb\u5316\u3001\u6dfb\u52a0\u3001\u63d0\u4ea4\u3001\u63a8\u9001\u3001\u62c9\u53d6\u3001\u5206\u652f\u7ba1\u7406\u3001\u6807\u7b7e\u7ba1\u7406\u3001\u9ad8\u7ea7\u547d\u4ee4\u7b49\u3002\u901a\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u4f60\u5c06\u4e86\u89e3\u5230 Git \u547d\u4ee4\u7684\u7528\u6cd5\u4ee5\u53ca\u5e38\u89c1\u7684\u5e94\u7528\u573a\u666f\u3002","og_url":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git\u5e38\u7528\u547d\u4ee4\/","og_site_name":"\u4e2a\u4eba\u5b66\u4e60\u7ad9\u70b9","article_published_time":"2023-04-14T04:55:53+00:00","article_modified_time":"2023-08-09T00:18:33+00:00","og_image":[{"width":1200,"height":674,"url":"https:\/\/btc354.com\/wp-content\/uploads\/2023\/04\/git-github.png","type":"image\/png"}],"author":"tan, keito","twitter_card":"summary_large_image","twitter_creator":"@tqd354","twitter_site":"@tqd354","twitter_misc":{"\u4f5c\u8005":"tan, keito","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/#article","isPartOf":{"@id":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/"},"author":{"name":"tan, keito","@id":"https:\/\/btc354.com\/#\/schema\/person\/00e13932981b0e8ae19d3ae6b5734178"},"headline":"git\u5e38\u7528\u547d\u4ee4","datePublished":"2023-04-14T04:55:53+00:00","dateModified":"2023-08-09T00:18:33+00:00","mainEntityOfPage":{"@id":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/"},"wordCount":7,"commentCount":0,"publisher":{"@id":"https:\/\/btc354.com\/#\/schema\/person\/00e13932981b0e8ae19d3ae6b5734178"},"image":{"@id":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/#primaryimage"},"thumbnailUrl":"https:\/\/btc354.com\/wp-content\/uploads\/2023\/04\/git-github.png","articleSection":["git"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/","url":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/","name":"git\u5e38\u7528\u547d\u4ee4 - \u4e2a\u4eba\u5b66\u4e60\u7ad9\u70b9","isPartOf":{"@id":"https:\/\/btc354.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/#primaryimage"},"image":{"@id":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/#primaryimage"},"thumbnailUrl":"https:\/\/btc354.com\/wp-content\/uploads\/2023\/04\/git-github.png","datePublished":"2023-04-14T04:55:53+00:00","dateModified":"2023-08-09T00:18:33+00:00","description":"\u5b66\u4e60 Git \u5e38\u7528\u547d\u4ee4\uff0c\u5305\u62ec Git \u7684\u521d\u59cb\u5316\u3001\u6dfb\u52a0\u3001\u63d0\u4ea4\u3001\u63a8\u9001\u3001\u62c9\u53d6\u3001\u5206\u652f\u7ba1\u7406\u3001\u6807\u7b7e\u7ba1\u7406\u3001\u9ad8\u7ea7\u547d\u4ee4\u7b49\u3002\u901a\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u4f60\u5c06\u4e86\u89e3\u5230 Git \u547d\u4ee4\u7684\u7528\u6cd5\u4ee5\u53ca\u5e38\u89c1\u7684\u5e94\u7528\u573a\u666f\u3002","breadcrumb":{"@id":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/#primaryimage","url":"https:\/\/btc354.com\/wp-content\/uploads\/2023\/04\/git-github.png","contentUrl":"https:\/\/btc354.com\/wp-content\/uploads\/2023\/04\/git-github.png","width":1200,"height":674},{"@type":"BreadcrumbList","@id":"https:\/\/btc354.com\/index.php\/2023\/04\/14\/git%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/btc354.com\/"},{"@type":"ListItem","position":2,"name":"git\u5e38\u7528\u547d\u4ee4"}]},{"@type":"WebSite","@id":"https:\/\/btc354.com\/#website","url":"https:\/\/btc354.com\/","name":"\u4e2a\u4eba\u5b66\u4e60\u7ad9\u70b9","description":"tiro354","publisher":{"@id":"https:\/\/btc354.com\/#\/schema\/person\/00e13932981b0e8ae19d3ae6b5734178"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/btc354.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/btc354.com\/#\/schema\/person\/00e13932981b0e8ae19d3ae6b5734178","name":"tan, keito","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/btc354.com\/wp-content\/uploads\/2025\/01\/cropped-tiro354_logo7-1.png","url":"https:\/\/btc354.com\/wp-content\/uploads\/2025\/01\/cropped-tiro354_logo7-1.png","contentUrl":"https:\/\/btc354.com\/wp-content\/uploads\/2025\/01\/cropped-tiro354_logo7-1.png","width":1023,"height":1023,"caption":"tan, keito"},"logo":{"@id":"https:\/\/btc354.com\/wp-content\/uploads\/2025\/01\/cropped-tiro354_logo7-1.png"},"sameAs":["https:\/\/x.com\/tqd354"],"url":"https:\/\/btc354.com\/index.php\/author\/tanqidong\/"}]}},"_links":{"self":[{"href":"https:\/\/btc354.com\/index.php\/wp-json\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/btc354.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/btc354.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/btc354.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/btc354.com\/index.php\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":7,"href":"https:\/\/btc354.com\/index.php\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":397,"href":"https:\/\/btc354.com\/index.php\/wp-json\/wp\/v2\/posts\/197\/revisions\/397"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/btc354.com\/index.php\/wp-json\/wp\/v2\/media\/202"}],"wp:attachment":[{"href":"https:\/\/btc354.com\/index.php\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/btc354.com\/index.php\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/btc354.com\/index.php\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}