{"id":37453,"date":"2023-10-31T21:01:55","date_gmt":"2023-02-03T15:33:47","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/"},"modified":"2024-05-04T06:54:49","modified_gmt":"2024-05-03T22:54:49","slug":"%e8%ae%be%e7%bd%ae-git","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/","title":{"rendered":"\u8bbe\u7f6e &#8211; Git"},"content":{"rendered":"<h1>\u9996\u5148<\/h1>\n<p>\u8bbe\u5b9a\u7cfb\u5217\uff0cGit \u7f16\u3002<\/p>\n<p>\u4e3b\u8981\u6d89\u53ca\u4ee5\u4e0b\u5185\u5bb9\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Git \u30af\u30e9\u30a4\u30a2\u30f3\u30c8<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Git \u30b5\u30fc\u30d0\u30fc<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Git \u30ef\u30fc\u30af\u30d5\u30ed\u30fc<\/ul>\n<p>\u6307\u5bfc\u539f\u5219:<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Git \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e GUI \u64cd\u4f5c\u306f\u3001\u3053\u306e\u8a18\u4e8b\u3067\u306f\u7d39\u4ecb\u3057\u306a\u3044\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">GUI \u64cd\u4f5c\u306f\u3001VS Code \u3067\u4e8b\u8db3\u308a\u308b\u3068\u601d\u3046\u3002VS Code \u306e\u62e1\u5f35\u6a5f\u80fd\u306b\u3064\u3044\u3066\u306f\u3001\u5225\u8a18\u4e8b\u3092\u53c2\u7167\u3002<\/ul>\n<h1>? Git \u5ba2\u6237\u7aef<\/h1>\n<h2>\u4e2d\u56fd\u6b63\u7248 Windows \u9002\u7528<\/h2>\n<p>\u4f7f\u7528\u7531Git\u5b98\u65b9\u63d0\u4f9b\u7684Windows\u7248Git\u5ba2\u6237\u7aef\u2014\u2014\u201cGit for Windows\u201d\u3002<\/p>\n<p>\u5b89\u88c5<\/p>\n<p>\u4ece https:\/\/gitforwindows.org\/ \u4e0b\u8f7d\u5b89\u88c5\u7a0b\u5e8f\u5e76\u8fdb\u884c\u5b89\u88c5\u3002<br \/>\n\u5b89\u88c5\u7a0b\u5e8f\u9009\u9879\u7684\u8be6\u7ec6\u5185\u5bb9\u5982\u4e0b\u6240\u793a\u3002<\/p>\n<p>\u8d44\u8baf:<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<p>\u9009\u62e9\u76ee\u6807\u4f4d\u7f6e\uff08\u5b89\u88c5\u76ee\u6807\u4f4d\u7f6e\u9009\u62e9\uff09<\/p>\n<p>C:\\Program Files\\Git\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<p>\u9009\u62e9\u7ec4\u4ef6<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4ee5\u4e0b\u306b\u30c1\u30a7\u30c3\u30af<\/ul>\n<\/li>\n<\/ul>\n<p>\u2b1c Additional Icons\uff08Git Bash \u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u8ffd\u52a0\uff09<\/p>\n<p>\u2b1c On the Desktop<\/p>\n<p>\u2705 Windows Explorer Integration\uff08\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30e1\u30cb\u30e5\u30fc\u306b\u8ffd\u52a0\uff09<\/p>\n<p>\u2705 Git Bash Here<br \/>\n\u2705 \u27a1 \u2b1c Git GUI Here<\/p>\n<p>Git GUI \u306f\u4f7f\u308f\u306a\u3044\u306e\u3067<\/p>\n<p>\u2705 Git LFS (Large File Support)\uff08\u5927\u5bb9\u91cf\u30d5\u30a1\u30a4\u30eb\u3092\u30b5\u30dd\u30fc\u30c8\uff09<br \/>\n\u2705 Associate .git* configuration files with the default text editor\uff08.git* \u69cb\u6210\u30d5\u30a1\u30a4\u30eb\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u95a2\u9023\u4ed8\u3051\u308b\uff09<br \/>\n\u2705 Associate .sh files to be run with Bash\uff08.sh \u30d5\u30a1\u30a4\u30eb\u3092 Git Bash \u306b\u95a2\u9023\u4ed8\u3051\u308b\uff09<br \/>\n\u2b1c Use a TrueType font in all console windows\uff08\u3059\u3079\u3066\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3067 TrueType \u30d5\u30a9\u30f3\u30c8\u3092\u4f7f\u3046\uff09<\/p>\n<p>\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3068\u3001\u591a\u30d0\u30a4\u30c8\u6587\u5b57\u3067\u554f\u984c\u304c\u51fa\u308b\u3089\u3057\u3044<\/p>\n<p>\u2b1c \u27a1 \u2705 Check daily for Git for Windows updates\uff08\u66f4\u65b0\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u6bce\u65e5\u78ba\u8a8d\u3059\u308b\uff09<\/p>\n<p>\u8106\u5f31\u6027\u5bfe\u7b56\u306e\u305f\u3081\u6700\u65b0\u7248\u3092\u4f7f\u3046<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<p>\u9009\u62e9\u5f00\u59cb\u83dc\u5355\u6587\u4ef6\u5939<\/p>\n<ul class=\"post-ul\">\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e Next \u30dc\u30bf\u30f3<\/ul>\n<p>\u9009\u62e9Git\u4f7f\u7528\u7684\u9ed8\u8ba4\u7f16\u8f91\u5668\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Git \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u9078\u629e\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>\u26aa Use Vim (the ubiquitous text editor) as Git&#8217;s default editor\uff08Vim \u3092\u4f7f\u3046\uff09<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3002\u975e\u63a8\u5968\u3068\u66f8\u304b\u308c\u3066\u3044\u308b<\/p>\n<p>? Use Visual Studio Code As Git\u2019s default editor\uff08Visual Studio Code \u3092\u4f7f\u3046\uff09<\/p>\n<p>\u4eca\u56de\u306f\u3053\u308c\u3092\u9078\u629e\u3059\u308b<\/p>\n<p>\u306a\u3069<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<pre class=\"post-pre\"><code>The Vim editor, while powerful, can be hard to use.\r\nIt's user interface is unintuitive and its key binding sare awkward.\r\nVim \u30a8\u30c7\u30a3\u30bf\u30fc\u306f\u5f37\u529b\u3067\u3059\u304c\u3001\u4f7f\u3044\u306b\u304f\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\r\n\u305d\u306e\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306f\u76f4\u611f\u7684\u3067\u306f\u306a\u304f\u3001\u30ad\u30fc\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u306f\u5384\u4ecb\u3067\u3059\u3002\r\n\r\nNote: Vim is the default editor of Git for Windows only for historical reasons,\r\nand it is highly recommended to switch to a modern GUI editor instead.\r\n\u6ce8\uff1aVim \u306f\u6b74\u53f2\u7684\u306a\u7406\u7531\u306e\u307f\u3067 Git for Windows \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u3042\u308b\u306e\u3067\u3001\r\n\u4ee3\u308f\u308a\u306b\u6700\u65b0\u306e GUI \u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u3092\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\r\n\r\nNote: This will leave the 'core.editor' option unset, which will make Git fall back to the 'EDITOR' environment variable.\r\nThe default editor is Vim - but you may it to some other editor of your choice.\r\n\u6ce8\uff1a\u3053\u308c\u306b\u3088\u308a\u3001\u300ccore.editor\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u672a\u8a2d\u5b9a\u306e\u307e\u307e\u306b\u306a\u308a\u3001Git\u304c\u300cEDITOR\u300d\u74b0\u5883\u5909\u6570\u306b\u30d5\u30a9\u30fc\u30eb\u30d0\u30c3\u30af\u3057\u307e\u3059\u3002\r\n\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30a8\u30c7\u30a3\u30bf\u30fc\u306f Vim \u3067\u3059\u304c\u3001\u4ed6\u306e\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\r\n<\/code><\/pre>\n<p>\u8c03\u6574\u65b0\u4ed3\u5e93\u4e2d\u521d\u59cb\u5206\u652f\u7684\u540d\u79f0\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u6700\u521d\u306e\u30d6\u30e9\u30f3\u30c1\u540d\u3092\u9078\u629e\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>? Let Git decide\uff08Git \u306b\u6c7a\u3081\u3055\u305b\u308b\uff09<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3002\u57fa\u672c\u7684\u306b\u3053\u308c<\/p>\n<p>\u26aa Override the default branch name for new repositories\uff08\u65b0\u3057\u3044\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30c7\u30d5\u30a9\u30eb\u30c8 \u30d6\u30e9\u30f3\u30c1\u540d\u3092\u4e0a\u66f8\u304d\u3059\u308b\uff09<\/p>\n<p>main \u306a\u3069\u3001master \u4ee5\u5916\u306e\u30d6\u30e9\u30f3\u30c1\u540d\u3092\u4f7f\u3046\u5834\u5408<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<p>\u8c03\u6574\u60a8\u7684 PATH \u73af\u5883\uff08PATH \u7684\u8bbe\u7f6e\uff09\uff1a<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Git Bash \u4ee5\u5916\u306e\u7aef\u672b\u306e\u305f\u3081\u306b\u3001PATH \u3092\u901a\u3059\u304b\uff1f\uff08Git Bash \u4ee5\u5916\u3067 git \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u5834\u5408\u4ee5\u5916\u306f\u7121\u8996\u3057\u3066 OK\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>\u26aa Use Git from Git Bash only<\/p>\n<p>PATH \u74b0\u5883\u5909\u6570\u306b\u4f55\u3082\u8a2d\u5b9a\u3057\u306a\u3044<br \/>\n\u4ed6\u306e Unix \u4e92\u63db\u74b0\u5883\uff08MinGW, cygwin \u7b49\uff09\u3092\u4f7f\u3063\u3066\u3044\u3066\u3001\u5f71\u97ff\u3092\u8003\u616e\u3059\u308b\u5834\u5408\u306b\u4f7f\u3046<\/p>\n<p>? Git from the command line and also from 3rd-party software<\/p>\n<p>\u63a8\u5968\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3002\u57fa\u672c\u7684\u306b\u3053\u308c<br \/>\n\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084 PowerShell \u306a\u3069\u304b\u3089\u306f Git \u30b3\u30de\u30f3\u30c9\u306e\u307f\u304c\u4f7f\u3048\u308b\u304c\u3001Unix \u30b3\u30de\u30f3\u30c9\u306f\u4f7f\u3048\u306a\u3044<\/p>\n<p>\u26aa Use Git and optional Unix tools from the Command Prompt<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084 PowerShell \u306a\u3069\u304b\u3089 Git \u30b3\u30de\u30f3\u30c9\u3060\u3051\u3067\u306a\u304f\u3001Unix \u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b<br \/>\n\u305f\u3060\u3057\u3001find \u3084 sort \u306a\u3069\u306e\u30b3\u30de\u30f3\u30c9\u304c\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u6ce8\u610f\u304c\u5fc5\u8981<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<p>\u9009\u62e9HTTPS\u4f20\u8f93\u540e\u7aef\uff08\u9009\u62e9HTTPS\u4f20\u8f93\u540e\u7aef\u7684\u8bbe\u7f6e\uff09<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30eb\u30fc\u30c8\u8a3c\u660e\u66f8\u306e\u53c2\u7167\u5148\u3092\u9078\u629e\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>? Use the OpenSSL library\uff08OpenSSL \u306e\u3082\u306e\u3092\u53c2\u7167\uff09<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3002\u57fa\u672c\u7684\u306b\u3053\u308c<\/p>\n<p>\u26aa Use the native Windows Secure Channel library\uff08Windows \u306e Secure Channel \u3092\u53c2\u7167\uff09<\/p>\n<p>\u72ec\u81ea\u8a3c\u660e\u66f8\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<p>\u914d\u7f6e\u884c\u5c3e\u8f6c\u6362\u8bbe\u7f6e<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u6539\u884c\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u5909\u63db\u3059\u308b\u304b\u9078\u629e\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>\u26aa Checkout Windows-style, commit Unix-style line endings<\/p>\n<p>\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u6642\u306b CRLF \u3078\u5909\u63db\u3057\u3001\u30b3\u30df\u30c3\u30c8\u6642\u306b LF \u3078\u5909\u63db\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u5024<\/p>\n<p>\u26aa Checkout as-is, commit Unix-style line endings<\/p>\n<p>\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u6642\u306b\u4f55\u3082\u306a\u3044\u304c\u3001\u30b3\u30df\u30c3\u30c8\u6642\u306b LF \u3078\u5909\u63db<\/p>\n<p>? Checkout as-is, commit as-is<\/p>\n<p>\u4f55\u3082\u3057\u306a\u3044<br \/>\n\u3053\u308c\u3092\u9078\u629e\u3057\u3066\u3001Git \u306b\u306f\u4efb\u305b\u305a .editorconfig \u306a\u3069\u3067\u5236\u5fa1\u3059\u308b\u306e\u304c\u30aa\u30b9\u30b9\u30e1<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<p>\u914d\u7f6e\u7ec8\u7aef\u6a21\u62df\u5668\u4ee5\u5728Git Bash\u4e2d\u4f7f\u7528\uff08\u7ec8\u7aef\u8bbe\u7f6e\uff09<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30bf\u30fc\u30df\u30ca\u30eb\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u30fc\u3092\u9078\u629e\u3059\u308b<\/ul>\n<\/li>\n<\/ul>\n<p>? Use MinTTY<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3002\u57fa\u672c\u7684\u306b\u3053\u308c<\/p>\n<p>\u26aa Use Windows\u2019s default console windows<\/p>\n<p>Windows \u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u4f7f\u3046\u5834\u5408<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<p>\u9009\u62e9git pull\u7684\u9ed8\u8ba4\u884c\u4e3a\u3002<\/p>\n<p>git pull \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u52d5\u4f5c\u3092\u9078\u629e\u3059\u308b<\/p>\n<p>? Default (fast-forward or merge)<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3002\u57fa\u672c\u7684\u306b\u3053\u308c\u3002Git \u306e\u6a19\u6e96\u7684\u306a\u52d5\u4f5c\u306b\u5f93\u3046<\/p>\n<p>\u26aa Rebase<br \/>\n\u26aa Only ever fast-forward<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<p>\u9009\u62e9\u4e00\u4e2a\u51ed\u636e\u52a9\u624b\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u8cc7\u683c\u60c5\u5831\u30d8\u30eb\u30d1\u30fc\u3092\u9078\u629e<\/ul>\n<\/li>\n<\/ul>\n<p>? Git Credential Manager Core<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3002\u57fa\u672c\u7684\u306b\u3053\u308c<\/p>\n<p>\u26aa Git Credential Manager<\/p>\n<p>\u975e\u63a8\u5968\u3002\u65e7\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u3082\u306e\u304c\u5fc5\u8981\u306a\u5834\u5408<\/p>\n<p>\u26aa None<\/p>\n<p>\u8cc7\u683c\u60c5\u5831\u30d8\u30eb\u30d1\u30fc\u3092\u4f7f\u308f\u306a\u3044<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<p>\u914d\u7f6e\u989d\u5916\u9009\u9879\uff1a<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4ee5\u4e0b\u306b\u30c1\u30a7\u30c3\u30af<\/ul>\n<\/li>\n<\/ul>\n<p>\u2705 Enable file system caching\uff08\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u4f7f\u3046\uff09<br \/>\n\u2b1c Enable symbolic links\uff08\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u4f7f\u3046\uff09<\/p>\n<p>Windows \u306e\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u306f POSIX \u3068\u306e\u5b8c\u5168\u306a\u4e92\u63db\u6027\u304c\u306a\u3044\u306e\u3067\u3001\u7121\u7406\u306b\u4f7f\u3046\u306e\u306f\u3084\u3081\u308b\u6d3e<br \/>\n\u6709\u52b9\u5316\u3059\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u3092\u53c2\u7167<\/p>\n<p>cf. Git for Windows \u3067\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u6271\u3048\u308b\u3088\u3046\u306b\u3059\u308b &#8211; Qiita<\/p>\n<p>Next \u30dc\u30bf\u30f3<\/p>\n<p>\u914d\u7f6e\u5b9e\u9a8c\u9009\u9879<\/p>\n<ul class=\"post-ul\">\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e Install \u30dc\u30bf\u30f3<\/ul>\n<p>\u786e\u8ba4<\/p>\n<p>\u5728\u5f00\u59cb\u83dc\u5355\u4e2d\u627e\u5230Git\uff0c\u70b9\u51fbGit Bash\u8fdb\u884c\u542f\u52a8\uff0c\u7136\u540e\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9\u8fdb\u884c\u786e\u8ba4\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># git \u306e\u78ba\u8a8d<\/span>\r\n<span class=\"nv\">$ <\/span>which git <span class=\"o\">&amp;&amp;<\/span> git <span class=\"nt\">--version<\/span>\r\n\/mingw64\/bin\/git\r\ngit version 2.31.1.windows.1\r\n\r\n<span class=\"c\"># git flow \u306e\u78ba\u8a8d\uff08\u4e00\u7dd2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\uff09<\/span>\r\n<span class=\"nv\">$ <\/span>git flow version\r\n1.12.3 <span class=\"o\">(<\/span>AVH Edition<span class=\"o\">)<\/span>\r\n<\/code><\/pre>\n<p>\u8bbe\u7f6e\uff1a<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u278a \u30b9\u30bf\u30fc\u30c8 \u30e1\u30cb\u30e5\u30fc &gt; Git &gt; Git Bash \u3092\u9806\u306b\u30af\u30ea\u30c3\u30af<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u278b \u8d77\u52d5\u3057\u305f Git Bash \u306e\u30bf\u30a4\u30c8\u30eb \u30d0\u30fc\u3092\u53f3\u30af\u30ea\u30c3\u30af &gt; Options&#8230; \u3092\u30af\u30ea\u30c3\u30af<\/ul>\n<\/li>\n<\/ul>\n<p>Looks &gt; Transparency \u3067 High \u3092\u9078\u629e\uff08\u7aef\u672b\u306e\u80cc\u666f\u3092\u534a\u900f\u660e\u306b\uff09<br \/>\nText &gt; Font \u3067 Lucida Console \u27a1 Consolas \u3084 HackGenNerd Console \u306a\u3069\u306b\u5909\u66f4\uff08\u65e5\u672c\u8a9e\u3092\u898b\u3084\u3059\u304f\uff09<\/p>\n<p>Save \u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af<\/p>\n<h2>\u5c08\u70ba\u860b\u679c\u96fb\u8166\u8a2d\u8a08\u7684\u64cd\u4f5c\u7cfb\u7d71\u3002<\/h2>\n<blockquote><p>\u53c2\u8003Git &#8211; \u4e0b\u8f7d\u8f6f\u4ef6\u5305<\/p><\/blockquote>\n<p>\u4f7f\u7528Homebrew\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684Git\u3002<br \/>\n\u4e0d\u4f7f\u7528Xcode Command Line Tools\u63d0\u4f9b\u7684Git\uff0c\u56e0\u4e3a\u5176\u7248\u672c\u8f83\u65e7\uff0c\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span>\r\n<span class=\"nv\">$ <\/span>brew <span class=\"nb\">install <\/span>git\r\n\r\n<span class=\"c\"># \u78ba\u8a8d<\/span>\r\n<span class=\"nv\">$ <\/span>which git <span class=\"o\">&amp;&amp;<\/span> git <span class=\"nt\">--version<\/span>\r\n\/usr\/local\/bin\/git\r\ngit version 2.31.1\r\n<\/code><\/pre>\n<h2>\u4e2d\u6587\u539f\u751f\u5316\u7684\u91ca\u4e49\uff1a? Ubuntu\u4f7f\u7528<\/h2>\n<p>\u4f7f\u7528APT\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<p>\u987a\u4fbf\u63d0\u4e00\u53e5\uff0c\u636e\u516c\u5f0f\u7f51\u7ad9\u7684\u6307\u5357\uff0cgit-all \u5305\u542b\u4e86 GUI \u7b49\u5b50\u5305\u3002\u53c2\u8003\u8d44\u6599\uff1a\u7248\u672c\u63a7\u5236-\u5728 Ubuntu \u4e0a\u5b89\u88c5 Git \u548c\u5b89\u88c5 Git-all \u7684\u5dee\u522b-Ask Ubuntu<\/p>\n<p>\u8fd9\u6b21\u4e0d\u9700\u8981\u5b89\u88c5git\u5305\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span>\r\n<span class=\"nv\">$ <\/span><span class=\"nb\">sudo <\/span>apt <span class=\"nb\">install <\/span>git\r\n\r\n<span class=\"c\"># \u78ba\u8a8d<\/span>\r\n<span class=\"nv\">$ <\/span>which git <span class=\"o\">&amp;&amp;<\/span> git <span class=\"nt\">--version<\/span>\r\n\/usr\/bin\/git\r\n\/bin\/git\r\ngit version 2.25.1\r\n<\/code><\/pre>\n<h2>? Git \u5ba2\u6237\u7aef\u7684\u521d\u59cb\u8bbe\u7f6e<\/h2>\n<p>\u6839\u636e\u516c\u5f0f\u6587\u4ef6\u7684\u8bf4\u660e\uff0c\u5b89\u88c5\u540e\u9996\u5148\u8981\u505a\u7684\u662f\u8bbe\u7f6e\u300c\u7528\u6237\u540d\u300d\u548c\u300c\u90ae\u4ef6\u5730\u5740\u300d\u3002<\/p>\n<p>\u5982\u679c\u60a8\u4e0d\u60f3\u5728\u63d0\u4ea4\u4fe1\u606f\u4e2d\u516c\u5f00\u4e2a\u4eba\u7535\u5b50\u90ae\u4ef6\u5730\u5740\uff0cGitHub \u53ef\u4ee5\u63d0\u4f9b\u201cno-reply \u90ae\u7bb1\u5730\u5740\u201d\uff08&lt;ID+username&gt;@users.noreply.github.com\uff09\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5b83\u3002<\/p>\n<p>\u5728\u5b98\u65b9\u6587\u4ef6\u7684\u300c\u8bbe\u7f6eGitHub\u63d0\u4ea4\u7684\u90ae\u4ef6\u5730\u5740\u300d\u7684\u6b65\u9aa4\u4e2d\uff0c\u52fe\u9009\u201c\u4fdd\u6301\u6211\u7684\u90ae\u4ef6\u5730\u5740\u79c1\u6709\uff08Keep my email address private\uff09\u201d\u5373\u53ef\u83b7\u5f97\u201cno-reply \u90ae\u7bb1\u5730\u5740\u201d\u3002<\/p>\n<p>\u5f53\u60a8\u786e\u5b9a\u8981\u4f7f\u7528\u7684\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u540e\uff0c\u4f7f\u7528Git Bash\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># \u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\uff08\u30b0\u30ed\u30fc\u30d0\u30eb\u8a2d\u5b9a: \u5168\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u5171\u901a\u8a2d\u5b9a\uff09<\/span>\r\n<span class=\"nv\">$ <\/span>git config <span class=\"nt\">--global<\/span> user.name <span class=\"s2\">\"\u30b5\u30f3\u30d7\u30eb \u592a\u90ce\"<\/span>\r\n<span class=\"nv\">$ <\/span>git config <span class=\"nt\">--global<\/span> user.email taro@example.com\r\n\r\n<span class=\"c\"># \u78ba\u8a8d<\/span>\r\n<span class=\"nv\">$ <\/span>git config <span class=\"nt\">--global<\/span> user.name <span class=\"o\">&amp;&amp;<\/span> git config <span class=\"nt\">--global<\/span> user.email\r\n<span class=\"o\">&gt;<\/span> \u30b5\u30f3\u30d7\u30eb \u592a\u90ce\r\n<span class=\"o\">&gt;<\/span> taro@example.com\r\n<\/code><\/pre>\n<p>\u53e6\u5916\uff0c\u5728\u7279\u5b9a\u7684\u5b58\u50a8\u5e93\u4e2d\u5e94\u7528&#8221;\u9664\u5168\u5c40\u8bbe\u7f6e\u5916\u7684\u5176\u4ed6\u8bbe\u7f6e&#8221;\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># \u4f5c\u696d\u4e2d\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u3078\u79fb\u52d5\uff08\u5fc5\u8981\u306a\u3089\uff09<\/span>\r\n<span class=\"nv\">$ <\/span><span class=\"nb\">cd<\/span> &lt;\u4f5c\u696d\u4e2d\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u30d1\u30b9&gt;\r\n\r\n<span class=\"c\"># \u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\uff08\u30ed\u30fc\u30ab\u30eb\u8a2d\u5b9a: \u30b0\u30ed\u30fc\u30d0\u30eb\u8a2d\u5b9a\u3088\u308a\u512a\u5148\u3055\u308c\u308b\u3001\u7279\u5b9a\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u305f\u3081\u306e\u8a2d\u5b9a\uff09<\/span>\r\n<span class=\"nv\">$ <\/span>git config user.name <span class=\"s2\">\"\u30b5\u30f3\u30d7\u30eb \u6b21\u90ce\"<\/span>\r\n<span class=\"nv\">$ <\/span>git config user.email jiro@example.com\r\n\r\n<span class=\"c\"># \u78ba\u8a8d<\/span>\r\n<span class=\"nv\">$ <\/span>git config user.name <span class=\"o\">&amp;&amp;<\/span> git config user.email\r\n<span class=\"o\">&gt;<\/span> \u30b5\u30f3\u30d7\u30eb \u6b21\u90ce\r\n<span class=\"o\">&gt;<\/span> jiro@example.com\r\n<\/code><\/pre>\n<h1>? Git \u670d\u52a1\u5668<\/h1>\n<p>Git \u670d\u52a1\u5668\u7684\u6258\u7ba1\u4f4d\u7f6e\uff0c\u5728\u8fc7\u53bb\u5e38\u5e38\u662f\u516c\u53f8\u7684\u670d\u52a1\u5668\u7b49\u201c\u672c\u5730\u73af\u5883\u201d\u3002<br \/>\n\uff08Git \u5728 2010 \u5e74\u5de6\u53f3\u5f00\u59cb\u5728\u56fd\u5185\u6d41\u884c\u8d77\u6765\u3002\uff09<\/p>\n<p>\u5f53\u524d\uff0c\u57fa\u4e8e\u6210\u672c\u6548\u76ca\u8003\u8651\uff0c\u201c\u4e91\u670d\u52a1\u201d\u6210\u4e3a\u4e86\u8bb8\u591a\u60c5\u51b5\u4e0b\u7684\u9996\u9009\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u4ee3\u8868\u6027\u7684Git\u670d\u52a1\u5668\u6258\u7ba1\u9009\u9879\u3002<\/p>\n<h2>\u7528\u4e8e\u5b58\u50a8\u3001\u7ba1\u7406\u548c\u5171\u4eab\u6570\u636e\u548c\u5e94\u7528\u7a0b\u5e8f\u7684\u4e91\u670d\u52a1\u6a21\u5f0f\u3002<\/h2>\n<p>GitHub<\/p>\n<p>\u6700\u3082\u30dd\u30d4\u30e5\u30e9\u30fc\u306a Gti \u30b5\u30fc\u30d0\u30fc\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u3002<br \/>\n2020 \u5e74 4 \u6708\u304b\u3089\u3001\u6709\u6599\u3060\u3063\u305f\u6a5f\u80fd\u306e\u591a\u304f\u304c\u7121\u6599\u30d7\u30e9\u30f3\u3067\u3082\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3002<\/p>\n<p>CI\/CD (GitHub Actions) \u306e\u5229\u7528\u3084\u3001\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u4f5c\u6210\u3092\u542b\u3080\u3002<br \/>\nSSO \u306e\u5229\u7528\u7b49\u306f\u3001\u5f15\u304d\u7d9a\u304d\u6709\u6599\u30d7\u30e9\u30f3\u3078\u306e\u52a0\u5165\u304c\u5fc5\u8981\u3002<\/p>\n<p>GitLab<\/p>\n<p>OSS \u3067\u3042\u308a\u3001\u30aa\u30f3\u30d7\u30ec\u30df\u30b9 \u30b5\u30fc\u30d0\u30fc\u4e0a\u306b\u3082\u69cb\u7bc9\u53ef\u80fd\u3002<\/p>\n<p>Bitbucket<\/p>\n<p>Atlassian \u793e\u88fd\u306e\u305f\u3081\u3001\u540c\u793e\u306e\u88fd\u54c1\u3068\u306e\u76f8\u6027\u304c\u826f\u3044\u3089\u3057\u3044\u3002<\/p>\n<p>AWS CodeCommit<\/p>\n<p>\u30a2\u30de\u30be\u30f3 \u30a6\u30a7\u30d6 \u30b5\u30fc\u30d3\u30b9 (AWS) \u304c\u63d0\u4f9b\u3059\u308b\u305f\u3081\u3001\u30e6\u30fc\u30b6\u30fc\u7ba1\u7406\u7b49\u3092 AWS \u3067\u7d71\u4e00\u3059\u308b\u5834\u5408\u306f\u9078\u629e\u80a2\u306b\u6319\u304c\u308b\u3002<\/p>\n<p>Azure Repos<\/p>\n<p>Microsoft Azure (Azure) \u304c\u63d0\u4f9b\u3059\u308b\u305f\u3081\u3001\u30e6\u30fc\u30b6\u30fc\u7ba1\u7406\u7b49\u3092 Azure \u3067\u7d71\u4e00\u3059\u308b\u5834\u5408\u306f\u9078\u629e\u80a2\u306b\u6319\u304c\u308b\u3002<\/p>\n<p>Cloud Source Repositories<\/p>\n<p>Google Cloud Platform (GCP) \u304c\u63d0\u4f9b\u3059\u308b\u305f\u3081\u3001\u30e6\u30fc\u30b6\u30fc\u7ba1\u7406\u7b49\u3092 GCP \u3067\u7d71\u4e00\u3059\u308b\u5834\u5408\u306f\u9078\u629e\u80a2\u306b\u6319\u304c\u308b\u3002<\/p>\n<h2>\u672c\u5730\u90e8\u7f72<\/h2>\n<p>GitLab<\/p>\n<p>2011 \u5e74\u767b\u5834\u306e\u3001\u30bb\u30eb\u30d5\u30db\u30b9\u30c8\u578b\u3067\u306f\u6700\u3082\u30e1\u30b8\u30e3\u30fc\u306a OSS Git \u30b5\u30fc\u30d0\u30fc\u3002<br \/>\n\u9ad8\u6a5f\u80fd\u306a\u53cd\u9762\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u8981\u6c42\u30b9\u30da\u30c3\u30af\u306f\u9ad8\u3081\u3002<\/p>\n<p>GitBucket<\/p>\n<p>2013 \u5e74\u767b\u5834\u306e Git \u30b5\u30fc\u30d0\u30fc\u3002<\/p>\n<p>Gogs<\/p>\n<p>2014 \u5e74\u767b\u5834\u306e\u3001\u73fe\u884c\u306e GitHub \u306b\u8fd1\u3044\u898b\u305f\u76ee\u306e Git \u30b5\u30fc\u30d0\u30fc\u3002<br \/>\n\u8efd\u91cf\u3002<\/p>\n<p>Gitea<\/p>\n<p>2016 \u5e74\u306b Gogs \u304b\u3089\u30d5\u30a9\u30fc\u30af\u3055\u308c\u305f Git \u30b5\u30fc\u30d0\u30fc\u3002<\/p>\n<h1>? Git \u5de5\u4f5c\u6d41<\/h1>\n<p>\u6709\u4e24\u79cd\u4ee3\u8868\u6027\u7684Git\u5de5\u4f5c\u6d41\u5982\u4e0b\u3002<\/p>\n<p>GitHub \u30d5\u30ed\u30fc:<\/p>\n<p>\u30b7\u30f3\u30d7\u30eb\u3067\u3001\u30ea\u30ea\u30fc\u30b9\u30b5\u30a4\u30af\u30eb\u306e\u65e9\u3044\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3002<br \/>\n\u57fa\u672c\u7684\u306b\u3053\u308c\u304c\u63a8\u5968\u3055\u308c\u308b\u304c\u3001CI\/CD \u306e\u306a\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u63a1\u7528\u3059\u3079\u304d\u3067\u306f\u306a\u3044\u3002<br \/>\ncf. GitHub \u306e\u30d5\u30ed\u30fc &#8211; GitHub Docs<\/p>\n<p>git-flow:<\/p>\n<p>\u53e4\u304f\u304b\u3089\u3042\u308b\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3002<br \/>\n\u8907\u96d1\u3060\u304c\u7740\u5b9f\u306b\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u305f\u3081\u306b\u4f7f\u308f\u308c\u308b\u3002<br \/>\ncf. A successful Git branching model \u00bb nvie.com<\/p>\n<p>cf. git-flow cheatsheet<\/p>\n<p>\u4ee5\u4e0b\u7684\u6587\u7ae0\u5f88\u8be6\u7ec6\uff0c\u8bf7\u53c2\u8003\u4ee5\u4e0b\u7684\u6587\u7ae0\u3002<br \/>\n\u4f8b\u5982 \u3010\u56fe\u89e3\u3011git-flow\u3001GitHub Flow \u5728\u5f00\u53d1\u73b0\u573a\u4e2d\u5f00\u59cb\u4f7f\u7528\u65f6\u9700\u8981\u8bb0\u4f4f\u7684\u8981\u70b9\uff1a\u79d8\u5bc6\u5f00\u59cb Git\/GitHub \u8d85\u5165\u95e8\uff08\u5b8c\uff09- \uff20IT<\/p>\n<h2>? GitHub \u6d41\u7a0b<\/h2>\n<blockquote><p>\u53c2\u8003GitHub\u6307\u5357\u4e86\u89e3GitHub\u6d41\u7a0b<br \/>\n\u53c2\u8003GitHub\u6d41\u7a0b\u7684\u65e5\u672c\u8bed\u8bd1\u7248<\/p><\/blockquote>\n<p>\u7b80\u6d01\u660e\u4e86\uff0c\u65e0\u9700\u7279\u522b\u89e3\u91ca\uff0c\u4e0d\u8fc7\u8fd8\u662f\u7b80\u5355\u89e3\u91ca\u4e00\u4e0b\u3002<\/p>\n<h3>? \u89c4\u5219 (gu\u012b z\u00e9)<\/h3>\n<p>master \u30d6\u30e9\u30f3\u30c1\u306f\u5e38\u6642\u30c7\u30d7\u30ed\u30a4\u53ef\u80fd\u306a\u72b6\u614b\u306b\u3059\u308b\u3002<br \/>\n\u65b0\u3057\u3044\u4f55\u304b\u306b\u53d6\u308a\u7d44\u3080\u969b\u306f\u3001master \u30d6\u30e9\u30f3\u30c1\u304b\u3089 feature \u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u3002<br \/>\n\uff08e.g. \u4f1a\u8b70\u958b\u50ac\u901a\u77e5\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u306a\u3089 feature\/add-meeting-notice\uff09<br \/>\n\u3042\u306a\u305f\u306f feature \u30d6\u30e9\u30f3\u30c1\u3067\u4f5c\u696d\u3057\u3001\u30b3\u30df\u30c3\u30c8\u3059\u308b\u3002\u5b9a\u671f\u7684\u306b push \u3057\u3066\u3001\u4f5c\u696d\u9032\u6357\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u3082\u5fd8\u308c\u305a\u306b\u3002<br \/>\n\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3084\u52a9\u8a00\u304c\u6b32\u3057\u3044\u6642\u3001\u30d6\u30e9\u30f3\u30c1\u3092\u30de\u30fc\u30b8\u3057\u3066\u3082\u3088\u3044\u3068\u601d\u3063\u305f\u3068\u304d\u306f\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8 \u3092\u4f5c\u6210\u3059\u308b\u3002<br \/>\n\u4ed6\u306e\u8ab0\u304b\u304c\u30ec\u30d3\u30e5\u30fc\u3092\u3057\u3066 OK \u3092\u51fa\u3057\u3066\u304f\u308c\u305f\u3089\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3067 feature \u30d6\u30e9\u30f3\u30c1\u3092 master \u30d6\u30e9\u30f3\u30c1\u3078\u30de\u30fc\u30b8\u3059\u308b\u3002<\/p>\n<p>master \u30d6\u30e9\u30f3\u30c1\u304c\u66f4\u65b0\u3055\u308c\u305f\u3089\u3001\u76f4\u3061\u306b\u30c7\u30d7\u30ed\u30a4\u3092\u3059\u308b\u3002<\/p>\n<h2>? Git\u6d41\u7a0b<\/h2>\n<blockquote><p>\u53c2\u89c1nvie\/gitflow<\/p><\/blockquote>\n<p>\u4ee5\u4e0b\u662f\u4f7f\u7528git-flow\u7684pull request\u7684\u5de5\u4f5c\u6d41\u7a0b\u793a\u4f8b\u3002<\/p>\n<h3>? \u5b89\u88c5<\/h3>\n<p>\u5b89\u88c5\u7528\u4e8e git-flow \u7684\u5de5\u5177\u3002<\/p>\n<p>Windows \u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n<p>\u5305\u542b\u5728Windows\u7248\u672c\u7684Git\u4e2d\u3002<\/p>\n<p>macOS: macOS<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># Homebrew \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span>\r\n<span class=\"nv\">$ <\/span>brew <span class=\"nb\">install <\/span>git-flow-avh\r\n<\/code><\/pre>\n<p>Ubuntu: \u4e4c\u73ed\u56fe<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># APT \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span>\r\n<span class=\"nv\">$ <\/span><span class=\"nb\">sudo <\/span>apt <span class=\"nb\">install <\/span>git-flow\r\n<\/code><\/pre>\n<h3>? \u6cd5\u89c4<\/h3>\n<h4>\u57fa\u672c\u89c4\u5219<\/h4>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u57fa\u672c\u3068\u306a\u308b\u30d6\u30e9\u30f3\u30c1:<\/ul>\n<\/li>\n<\/ul>\n<p>master \u30d6\u30e9\u30f3\u30c1\u306f\u3001\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u73fe\u884c\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u3002<\/p>\n<p>develop \u30d6\u30e9\u30f3\u30c1\u306f\u3001\u958b\u767a\u4e2d\u306e\u6b21\u671f\u30d0\u30fc\u30b8\u30e7\u30f3\u3002\uff08\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306e\u4e2d\u5fc3\u3068\u306a\u308b\u30d6\u30e9\u30f3\u30c1\uff09<\/p>\n<p>feature \u30d6\u30e9\u30f3\u30c1\u306f\u3001\u5404\u81ea\u306e\u4f5c\u696d\u9014\u4e2d\u306e\u72b6\u614b\u3002<\/p>\n<p>\u958b\u767a\u30d5\u30ed\u30fc:<\/p>\n<p>\u5404\u81ea\u306f develop \u30d6\u30e9\u30f3\u30c1\u304b\u3089 feature \u30d6\u30e9\u30f3\u30c1\u306f\u3092\u4f5c\u6210\u3057\u3001\u305d\u3053\u3067\u4f5c\u696d\u3059\u308b\u3002<br \/>\n\u5b9a\u671f\u7684\u306b feature \u30d6\u30e9\u30f3\u30c1\u3092 push \u3057\u3066\u4f5c\u696d\u9032\u6357\u3092\u5171\u6709\u3057\u3064\u3064\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3067 TODO \u3092\u793a\u3059\u3053\u3068\u3002<\/p>\n<p>feature \u30d6\u30e9\u30f3\u30c1\u3067\u306e\u4f5c\u696d\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3067 develop \u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8\u3059\u308b\u3002<\/p>\n<p>\u30ea\u30ea\u30fc\u30b9\u30d5\u30ed\u30fc:<\/p>\n<p>develop \u304b\u3089 master \u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8\u3057\u3001master \u30d6\u30e9\u30f3\u30c1\u3092\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u3002<\/p>\n<h4>\u5e94\u7528\u89c4\u5219<\/h4>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u7dca\u6025\u5bfe\u5fdc\u306e\u5834\u5408\u306f feature \u30d6\u30e9\u30f3\u30c1\u306e\u4ee3\u308f\u308a\u306b hotfix \u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>hotfix \u30d6\u30e9\u30f3\u30c1\u3067\u306e\u4f5c\u696d\u304c\u5b8c\u6210\u3057\u305f\u3089\u3001develop \u3068 master \u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8\u3057\u3001master \u30d6\u30e9\u30f3\u30c1\u3092\u30ea\u30ea\u30fc\u30b9\u3059\u308b\u3002<\/p>\n<h3>? \u5177\u4f53\u7684\u7684\u6d41\u7a0b<\/h3>\n<h4>\u8bbe\u5b9a\u9ed8\u8ba4\u5206\u652f\uff08\u4ec5\u5728\u6700\u521d\uff09<\/h4>\n<p>\u5c06Git\u670d\u52a1\u5668\u4e0a\u7684\u201c\u9ed8\u8ba4\u5206\u652f\u201d\u66f4\u6539\u4e3adevelop\u5206\u652f\u3002<\/p>\n<h4>\uff08\u4ec5\u9650\u6700\u521d\uff09\u8fdb\u884c\u521d\u59cb\u5316<\/h4>\n<p>\u6bcf\u4e2a\u672c\u5730\u4ed3\u5e93\u90fd\u9700\u8981\u8fdb\u884cgit-flow\u7684\u521d\u59cb\u5316\u624d\u80fd\u91c7\u7528\u8be5\u6d41\u7a0b\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># \u4f5c\u696d\u4e2d\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u3078\u79fb\u52d5\uff08\u5fc5\u8981\u306a\u3089\uff09<\/span>\r\n<span class=\"nv\">$ <\/span><span class=\"nb\">cd<\/span> &lt;\u4f5c\u696d\u4e2d\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u30d1\u30b9&gt;\r\n\r\n<span class=\"c\"># git-flow \u3067\u521d\u671f\u5316<\/span>\r\n<span class=\"c\">## -d ... \u63a8\u5968\u306e\u30d6\u30e9\u30f3\u30c1\u540d\u3092\u63a1\u7528\u3059\u308b<\/span>\r\n<span class=\"nv\">$ <\/span>git flow init <span class=\"nt\">-d<\/span>\r\n<\/code><\/pre>\n<h4>\u8fdb\u884c\u5f00\u53d1<\/h4>\n<p>\u6839\u636edevelop\u5206\u652f\uff0c\u4e3a\u6bcf\u4e2a\u5de5\u4f5c\u521b\u5efa\u4e00\u4e2afeature\u5206\u652f\u3002<br \/>\n\u4e3a\u4e86\u65b9\u4fbf\u7406\u89e3\uff0c\u7ed9\u5206\u652f\u8d77\u4e00\u4e2a\u63cf\u8ff0\u6027\u7684\u540d\u5b57\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># \u30d7\u30eb\uff08\u5fc5\u8981\u306a\u3089\uff09<\/span>\r\n<span class=\"nv\">$ <\/span>git pull origin develop\r\n\r\n<span class=\"c\"># feature \u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210<\/span>\r\n<span class=\"c\"># e.g. git flow feature start add-meeting-notice<\/span>\r\n<span class=\"nv\">$ <\/span>git flow feature start &lt;\u8aac\u660e\u7684\u306a\u30d6\u30e9\u30f3\u30c1\u540d&gt;\r\n<\/code><\/pre>\n<p>\u6bcf\u6b21\u4fee\u6b63\u5b8c\u6210\u540e\u90fd\u8981\u63d0\u4ea4\u3002<br \/>\n\u5373\u4f7f\u5728\u5b8c\u6210\u4e4b\u524d\uff0c\u4e5f\u8981\u5b9a\u671f\u63a8\u9001\u529f\u80fd\u5206\u652f\uff0c\u4ee5\u5171\u4eab\u5de5\u4f5c\u8fdb\u5c55\u3002<\/p>\n<h4>\u62a5\u544a\u5f00\u53d1\u8fdb\u5c55<\/h4>\n<p>\u5982\u679c\u63a8\u9001\u4e86 feature \u5206\u652f\uff0c\u5c31\u521b\u5efa\u4e00\u4e2a\u4ee5\u5408\u5e76\u5230 develop \u5206\u652f\u7684\u5f62\u5f0f\u7684\u62c9\u53d6\u8bf7\u6c42\u3002<br \/>\n\u5982\u679c\u5de5\u4f5c\u8fd8\u6ca1\u6709\u5b8c\u6210\uff0c\u5728\u62c9\u53d6\u8bf7\u6c42\u7684\u6807\u9898\u4e2d\u52a0\u4e0a [WIP]\uff0c\u5e76\u5728\u6b63\u6587\u4e2d\u7559\u4e0b TODO\u3002<\/p>\n<pre class=\"post-pre\"><code>\u30bf\u30a4\u30c8\u30eb: [WIP] \u25cb\u25cb \u6a5f\u80fd\u306e\u65b0\u898f\u8ffd\u52a0\r\n\u672c\u6587:\r\n\r\n<span class=\"gu\">## \u30b5\u30de\u30ea\u30fc<\/span>\r\n<span class=\"p\">\r\n-<\/span> \u25cb\u25cb \u3092 \u25cb\u25cb \u3059\u308b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u3002\r\n\r\n<span class=\"gu\">## TODO<\/span>\r\n<span class=\"p\">\r\n-<\/span> [x] \u25cb\u25cb.php \u306b form \u3092\u4f5c\u6210\u3059\u308b\r\n<span class=\"p\">-<\/span> [x] \u25cb\u25cb \u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3059\u308b\r\n<span class=\"p\">-<\/span> [ ] form \u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\r\n<span class=\"p\">-<\/span> [ ] form \u306e\u6319\u52d5\u3092\u78ba\u8a8d\u3059\u308b\r\n<span class=\"p\">-<\/span> [ ] CSS \u306e\u9069\u5fdc\r\n<span class=\"p\">-<\/span> [ ] \u30c6\u30b9\u30c8\r\n<\/code><\/pre>\n<h4>\u8bf7\u5199\u4e00\u7bc7\u8bc4\u8bba<\/h4>\n<p>\u7279\u6027\u5206\u652f\u7684\u5de5\u4f5c\u5b8c\u6210\u540e\uff0c\u8bf7\u8fdb\u884c\u63a8\u9001\u3002<br \/>\n\u4ece\u62c9\u53d6\u8bf7\u6c42\u6807\u9898\u4e2d\u5220\u9664[WIP]\u6807\u8bb0\uff0c\u5e76\u66f4\u65b0\u6b63\u6587\uff0c\u5c06\u8d1f\u8d23\u4eba\u66f4\u6539\u4e3a\u5ba1\u6838\u8005\uff0c\u5e76\u8bf7\u6c42\u5ba1\u6838\u3002<\/p>\n<pre class=\"post-pre\"><code>\u30bf\u30a4\u30c8\u30eb: \u25cb\u25cb \u6a5f\u80fd\u306e\u65b0\u898f\u8ffd\u52a0\r\n\u672c\u6587:\r\n\r\n<span class=\"gu\">## \u30b5\u30de\u30ea\u30fc<\/span>\r\n<span class=\"p\">\r\n-<\/span> \u25cb\u25cb \u3092 \u25cb\u25cb \u3059\u308b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u3002\r\n<span class=\"p\">-<\/span> \uff08\u305d\u306e\u4ed6\u3001\u5171\u6709\u3059\u3079\u304d\u5185\u5bb9\u3092\u8a18\u8f09\uff09\r\n\r\n<span class=\"gu\">## \u30c6\u30b9\u30c8\u7d50\u679c<\/span>\r\n<span class=\"p\">\r\n-<\/span> \uff08\u8a66\u9a13\u7d50\u679c\u306e\u30a8\u30d3\u30c7\u30f3\u30b9\u3092\u8a18\u8f09\uff09\r\n<\/code><\/pre>\n<p>\u5982\u679c\u6ca1\u6709\u95ee\u9898\uff0c\u8bc4\u5ba1\u4eba\u53ef\u4ee5\u4f7f\u7528\u62c9\u53d6\u8bf7\u6c42\u5c06\u63d0\u4ea4\u7684\u5185\u5bb9\u5408\u5e76\u5230develop\u5206\u652f\uff0c\u5e76\u5220\u9664feature\u5206\u652f\u3002<br \/>\n\u5982\u679c\u6709\u95ee\u9898\uff0c\u5219\u4f1a\u5c06\u4efb\u52a1\u9000\u56de\u7ed9\u8bc4\u5ba1\u8bf7\u6c42\u8005\u3002<\/p>\n<h4>\u53d1\u5e03<\/h4>\n<p>\u5f53\u5fc5\u8981\u7684\u529f\u80fd\u5206\u652f\u5408\u5e76\u5b8c\u6210\u540e\uff0c\u9700\u8981\u786e\u8ba4develop\u5206\u652f\u6ca1\u6709\u95ee\u9898\u3002\u5982\u679c\u4e5f\u6ca1\u6709\u95ee\u9898\uff0c\u5c06develop\u5206\u652f\u5408\u5e76\u5230master\u5206\u652f\uff0c\u5e76\u53d1\u5e03master\u5206\u652f\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># develop \u304b\u3089 release \u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3057\u3001master \u3068 develop \u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8<\/span>\r\n<span class=\"nv\">$ <\/span>git flow release start v1.0.0\r\n<span class=\"nv\">$ <\/span>git flow release finish v1.0.0\r\n\r\n<span class=\"c\"># \u30d7\u30c3\u30b7\u30e5<\/span>\r\n<span class=\"nv\">$ <\/span>git push origin master develop <span class=\"o\">&amp;&amp;<\/span> git push origin <span class=\"nt\">--tags<\/span>\r\n<\/code><\/pre>\n<h4>\u53ea\u5728\u5fc5\u8981\u7684\u60c5\u51b5\u4e0b\u8fdb\u884c\u7d27\u6025\u5e94\u5bf9\u3002<\/h4>\n<p>\u5728\u7d27\u6025\u60c5\u51b5\u4e0b\uff0c\u4f7f\u7528 hotfix \u5206\u652f\u4ee3\u66ff feature \u5206\u652f\u8fdb\u884c\u5e94\u5bf9\u3002<br \/>\n\u5f53\u4fee\u590d\u5de5\u4f5c\u5728 hotfix \u5206\u652f\u5b8c\u6210\u540e\uff0c\u5c06\u5176\u5408\u5e76\u5230 develop \u5206\u652f\u548c master \u5206\u652f\uff0c\u5e76\u53d1\u5e03 master \u5206\u652f\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"c\"># master \u304b\u3089 hotfix \u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210<\/span>\r\n<span class=\"nv\">$ <\/span>git flow hotfix start v1.0.1\r\n\r\n<span class=\"c\"># \u4fee\u6b63\u3092\u30b3\u30df\u30c3\u30c8<\/span>\r\n\r\n<span class=\"c\"># hotfix \u30d6\u30e9\u30f3\u30c1\u3092 master \u3068 develop \u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8<\/span>\r\n<span class=\"nv\">$ <\/span>git flow hotfix finish v1.0.1\r\n\r\n<span class=\"c\"># \u30d7\u30c3\u30b7\u30e5<\/span>\r\n<span class=\"nv\">$ <\/span>git push origin master develop <span class=\"o\">&amp;&amp;<\/span> git push origin <span class=\"nt\">--tags<\/span>\r\n<\/code><\/pre>\n<h1>\u6587\u732e\u5f15\u7528<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Git for Windows \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066<\/ul>\n<\/li>\n<\/ul>\n<p>\u79c1\u5bb6\u7248 Git For Windows \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806 | OPCDiary<br \/>\n\u30100 \u304b\u3089\u59cb\u3081\u308b Git\u3011Git \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f | \u305f\u304f\u30e1\u30e2<\/p>\n<p>\u521d\u671f\u8a2d\u5b9a\u306b\u3064\u3044\u3066<\/p>\n<p>Git &#8211; \u6700\u521d\u306e Git \u306e\u69cb\u6210<br \/>\nGit \u3067\u306e\u30e6\u30fc\u30b6\u540d\u3092\u8a2d\u5b9a\u3059\u308b &#8211; GitHub Docs<br \/>\n\u30b3\u30df\u30c3\u30c8\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u8a2d\u5b9a\u3059\u308b &#8211; GitHub Docs<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148 \u8bbe\u5b9a\u7cfb\u5217\uff0cGit \u7f16\u3002 \u4e3b\u8981\u6d89\u53ca\u4ee5\u4e0b\u5185\u5bb9\u3002 Git \u30af\u30e9\u30a4\u30a2\u30f3\u30c8 &nbsp; Git \u30b5\u30fc\u30d0\u30fc &#038;nb [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-37453","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8bbe\u7f6e - Git - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u8bbe\u7f6e-git\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8bbe\u7f6e - Git\" \/>\n<meta property=\"og:description\" content=\"\u9996\u5148 \u8bbe\u5b9a\u7cfb\u5217\uff0cGit \u7f16\u3002 \u4e3b\u8981\u6d89\u53ca\u4ee5\u4e0b\u5185\u5bb9\u3002 Git \u30af\u30e9\u30a4\u30a2\u30f3\u30c8 &nbsp; Git \u30b5\u30fc\u30d0\u30fc &amp;nb [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u8bbe\u7f6e-git\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-03T15:33:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T22:54:49+00:00\" \/>\n<meta name=\"author\" content=\"\u79d1, \u9896\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u9896\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/\",\"name\":\"\u8bbe\u7f6e - Git - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-02-03T15:33:47+00:00\",\"dateModified\":\"2024-05-03T22:54:49+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8bbe\u7f6e &#8211; Git\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e\",\"name\":\"\u79d1, \u9896\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u9896\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u8bbe\u7f6e - Git - Blog - Silicon Cloud","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:\/\/www.silicloud.com\/zh\/blog\/\u8bbe\u7f6e-git\/","og_locale":"zh_CN","og_type":"article","og_title":"\u8bbe\u7f6e - Git","og_description":"\u9996\u5148 \u8bbe\u5b9a\u7cfb\u5217\uff0cGit \u7f16\u3002 \u4e3b\u8981\u6d89\u53ca\u4ee5\u4e0b\u5185\u5bb9\u3002 Git \u30af\u30e9\u30a4\u30a2\u30f3\u30c8 &nbsp; Git \u30b5\u30fc\u30d0\u30fc &nb [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u8bbe\u7f6e-git\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-02-03T15:33:47+00:00","article_modified_time":"2024-05-03T22:54:49+00:00","author":"\u79d1, \u9896","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u9896","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/","name":"\u8bbe\u7f6e - Git - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-02-03T15:33:47+00:00","dateModified":"2024-05-03T22:54:49+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u8bbe\u7f6e &#8211; Git"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e","name":"\u79d1, \u9896","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","caption":"\u79d1, \u9896"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e8%ae%be%e7%bd%ae-git\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=37453"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37453\/revisions"}],"predecessor-version":[{"id":96799,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/37453\/revisions\/96799"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=37453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=37453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=37453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}