{"id":606,"date":"2018-02-23T23:48:57","date_gmt":"2018-02-23T15:48:57","guid":{"rendered":"http:\/\/60.205.208.74\/2018\/02\/23\/git-%e8%bf%9c%e7%a8%8b%e4%bb%93%e5%ba%93github\/"},"modified":"2018-02-23T23:48:57","modified_gmt":"2018-02-23T15:48:57","slug":"git-%e8%bf%9c%e7%a8%8b%e4%bb%93%e5%ba%93github","status":"publish","type":"post","link":"https:\/\/www.puzi7.net\/?p=606","title":{"rendered":"Git \u8fdc\u7a0b\u4ed3\u5e93(Github)"},"content":{"rendered":"<span itemprop=\"description\"><div class=\"article-body\">\n<div class=\"article-intro\" id=\"content\">\n<h1>Git \u8fdc\u7a0b\u4ed3\u5e93(Github)<\/h1>\n<p>Git \u5e76\u4e0d\u50cf SVN \u90a3\u6837\u6709\u4e2a\u4e2d\u5fc3\u670d\u52a1\u5668\u3002 <\/p>\n<p>\u76ee\u524d\u6211\u4eec\u4f7f\u7528\u5230\u7684 Git \u547d\u4ee4\u90fd\u662f\u5728\u672c\u5730\u6267\u884c\uff0c\u5982\u679c\u4f60\u60f3\u901a\u8fc7 Git \u5206\u4eab\u4f60\u7684\u4ee3\u7801\u6216\u8005\u4e0e\u5176\u4ed6\u5f00\u53d1\u4eba\u5458\u5408\u4f5c\u3002<br \/>\n\u4f60\u5c31\u9700\u8981\u5c06\u6570\u636e\u653e\u5230\u4e00\u53f0\u5176\u4ed6\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u8fde\u63a5\u7684\u670d\u52a1\u5668\u4e0a\u3002<\/p>\n<p>\u672c\u4f8b\u4f7f\u7528\u4e86 Github \u4f5c\u4e3a\u8fdc\u7a0b\u4ed3\u5e93\uff0c\u4f60\u53ef\u4ee5\u5148\u9605\u8bfb\u6211\u4eec\u7684 <a target=\"_blank\" href=\"\/w3cnote\/git-guide.html\">Github \u7b80\u660e\u6559\u7a0b\u3002<\/a>\n<\/p>\n<hr>\n<h2>\u6dfb\u52a0\u8fdc\u7a0b\u5e93<\/h2>\n<p>\u8981\u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u8fdc\u7a0b\u4ed3\u5e93\uff0c\u53ef\u4ee5\u6307\u5b9a\u4e00\u4e2a\u7b80\u5355\u7684\u540d\u5b57\uff0c\u4ee5\u4fbf\u5c06\u6765\u5f15\u7528,\u547d\u4ee4\u683c\u5f0f\u5982\u4e0b\uff1a<\/p>\n<pre>\ngit remote add [shortname] [url]\n<\/pre>\n<p>\u672c\u4f8b\u4ee5Github\u4e3a\u4f8b\u4f5c\u4e3a\u8fdc\u7a0b\u4ed3\u5e93\uff0c\u5982\u679c\u4f60\u6ca1\u6709Github\u53ef\u4ee5\u5728\u5b98\u7f51<a href=\"https:\/\/github.com\/\" target=\"_blank\">https:\/\/github.com\/<\/a>\u6ce8\u518c\u3002<\/p>\n<\/p>\n<p>\u7531\u4e8e\u4f60\u7684\u672c\u5730Git\u4ed3\u5e93\u548cGitHub\u4ed3\u5e93\u4e4b\u95f4\u7684\u4f20\u8f93\u662f\u901a\u8fc7SSH\u52a0\u5bc6\u7684\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u914d\u7f6e\u9a8c\u8bc1\u4fe1\u606f\uff1a<\/p>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u751f\u6210SSH Key\uff1a<\/p>\n<pre>$ ssh-keygen -t rsa -C \"youremail@example.com\"<\/pre>\n<p>\n\u540e\u9762\u7684 <strong>your_email@youremail.com<\/strong> \u6539\u4e3a\u4f60\u5728 github \u4e0a\u6ce8\u518c\u7684\u90ae\u7bb1\uff0c\u4e4b\u540e\u4f1a\u8981\u6c42\u786e\u8ba4\u8def\u5f84\u548c\u8f93\u5165\u5bc6\u7801\uff0c\u6211\u4eec\u8fd9\u4f7f\u7528\u9ed8\u8ba4\u7684\u4e00\u8def\u56de\u8f66\u5c31\u884c\u3002\u6210\u529f\u7684\u8bdd\u4f1a\u5728~\/\u4e0b\u751f\u6210.ssh\u6587\u4ef6\u5939\uff0c\u8fdb\u53bb\uff0c\u6253\u5f00 id_rsa.pub\uff0c\u590d\u5236\u91cc\u9762\u7684 key\u3002<\/p>\n<p>\u56de\u5230 github \u4e0a\uff0c\u8fdb\u5165 Account =&gt; Settings\uff08\u8d26\u6237\u914d\u7f6e\uff09\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/03\/48840BF0-992F-4CCC-A388-15CB74819D88.jpg\"><\/p>\n<p>\u5de6\u8fb9\u9009\u62e9 <strong>SSH and GPG keys<\/strong>\uff0c\u7136\u540e\u70b9\u51fb <strong>New SSH key<\/strong> \u6309\u94ae,title \u8bbe\u7f6e\u6807\u9898\uff0c\u53ef\u4ee5\u968f\u4fbf\u586b\uff0c\u7c98\u8d34\u5728\u4f60\u7535\u8111\u4e0a\u751f\u6210\u7684 key\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/03\/106AD534-A38A-47F3-88A3-B7BE3F2FEEF1.jpg\"><\/p>\n<p>\u6dfb\u52a0\u6210\u529f\u540e\u754c\u9762\u5982\u4e0b\u6240\u793a\n<\/p>\n<\/p>\n<p>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/03\/EC8F8872-091A-4CAB-90F2-616F34F350A9.jpg\"><\/p>\n<p>\u4e3a\u4e86\u9a8c\u8bc1\u662f\u5426\u6210\u529f\uff0c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre>\n$ ssh -T git@github.com\nHi tianqixin! You've successfully authenticated, but GitHub does not provide shell access.\n<\/pre>\n<p>\u4ee5\u4e0b\u547d\u4ee4\u8bf4\u660e\u6211\u4eec\u5df2\u6210\u529f\u8fde\u4e0a Github\u3002<\/p>\n<p>\n\u4e4b\u540e\u767b\u5f55\u540e\u70b9\u51fb&#8221; New repository &#8221; \u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2015\/03\/github1.jpg\"><\/p>\n<p>\u4e4b\u540e\u5728\u5728Repository name \u586b\u5165 runoob-git-test(\u8fdc\u7a0b\u4ed3\u5e93\u540d)<br \/>\n\uff0c\u5176\u4ed6\u4fdd\u6301\u9ed8\u8ba4\u8bbe\u7f6e\uff0c\u70b9\u51fb&#8221;Create repository&#8221;\u6309\u94ae\uff0c\u5c31\u6210\u529f\u5730\u521b\u5efa\u4e86\u4e00\u4e2a\u65b0\u7684Git\u4ed3\u5e93\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2015\/03\/299CF000-7B6E-4BEC-B8C2-D9AEB053307B.jpg\"><\/p>\n<p>\u521b\u5efa\u6210\u529f\u540e\uff0c\u663e\u793a\u5982\u4e0b\u4fe1\u606f\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2015\/03\/1BCB4379-1A25-4C77-BB82-92B3E7185435.jpg\"><\/p>\n<p>\u4ee5\u4e0a\u4fe1\u606f\u544a\u8bc9\u6211\u4eec\u53ef\u4ee5\u4ece\u8fd9\u4e2a\u4ed3\u5e93\u514b\u9686\u51fa\u65b0\u7684\u4ed3\u5e93\uff0c\u4e5f\u53ef\u4ee5\u628a\u672c\u5730\u4ed3\u5e93\u7684\u5185\u5bb9\u63a8\u9001\u5230GitHub\u4ed3\u5e93\u3002<\/p>\n<p>\n\u73b0\u5728\uff0c\u6211\u4eec\u6839\u636e GitHub \u7684\u63d0\u793a\uff0c\u5728\u672c\u5730\u7684\u4ed3\u5e93\u4e0b\u8fd0\u884c\u547d\u4ee4\uff1a<\/p>\n<pre>\n$ mkdir runoob-git-test                     # \u521b\u5efa\u6d4b\u8bd5\u76ee\u5f55\n$ cd runoob-git-test\/                       # \u8fdb\u5165\u6d4b\u8bd5\u76ee\u5f55\n$ echo \"# \u83dc\u9e1f\u6559\u7a0b Git \u6d4b\u8bd5\" &gt;&gt; README.md     # \u521b\u5efa README.md \u6587\u4ef6\u5e76\u5199\u5165\u5185\u5bb9\n$ ls                                        # \u67e5\u770b\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\nREADME\n$ git init                                  # \u521d\u59cb\u5316\n$ git add README.md                         # \u6dfb\u52a0\u6587\u4ef6\n$ git commit -m \"\u6dfb\u52a0 README.md \u6587\u4ef6\"        # \u63d0\u4ea4\u5e76\u5907\u6ce8\u4fe1\u606f\n[master (root-commit) 0205aab] \u6dfb\u52a0 README.md \u6587\u4ef6\n 1 file changed, 1 insertion(+)\n create mode 100644 README.md\n\n# \u63d0\u4ea4\u5230 Github\n$ git remote add origin git@github.com:tianqixin\/runoob-git-test.git\n$ git push -u origin master\n<\/pre>\n<p>\u4ee5\u4e0b\u547d\u4ee4\u8bf7\u6839\u636e\u4f60\u5728Github\u6210\u529f\u521b\u5efa\u65b0\u4ed3\u5e93\u7684\u5730\u65b9\u590d\u5236\uff0c\u800c\u4e0d\u662f\u6839\u636e\u6211\u63d0\u4f9b\u7684\u547d\u4ee4\uff0c\u56e0\u4e3a\u6211\u4eec\u7684Github\u7528\u6237\u540d\u4e0d\u4e00\u6837\uff0c\u4ed3\u5e93\u540d\u4e5f\u4e0d\u4e00\u6837\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\u6211\u4eec\u8fd4\u56de Github \u521b\u5efa\u7684\u4ed3\u5e93\uff0c\u5c31\u53ef\u4ee5\u770b\u5230\u6587\u4ef6\u5df2\u4e0a\u4f20\u5230 Github\u4e0a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/03\/53CA927D-F36F-4A00-AFB2-5EAED05B535E.jpg\"><\/p>\n<hr>\n<h2>\u67e5\u770b\u5f53\u524d\u7684\u8fdc\u7a0b\u5e93<\/h2>\n<p>\u8981\u67e5\u770b\u5f53\u524d\u914d\u7f6e\u6709\u54ea\u4e9b\u8fdc\u7a0b\u4ed3\u5e93\uff0c\u53ef\u4ee5\u7528\u547d\u4ee4\uff1a<\/p>\n<pre>git remote<\/pre>\n<h3>\u5b9e\u4f8b<\/h3>\n<pre>\n$ git remote\norigin\n$ git remote -v\norigin\u00a0\u00a0\u00a0\u00a0git@github.com:tianqixin\/runoob-git-test.git (fetch)\norigin\u00a0\u00a0\u00a0\u00a0git@github.com:tianqixin\/runoob-git-test.git (push)\n<\/pre>\n<p>\u6267\u884c\u65f6\u52a0\u4e0a -v \u53c2\u6570\uff0c\u4f60\u8fd8\u53ef\u4ee5\u770b\u5230\u6bcf\u4e2a\u522b\u540d\u7684\u5b9e\u9645\u94fe\u63a5\u5730\u5740\u3002<\/p>\n<hr>\n<h2>\u63d0\u53d6\u8fdc\u7a0b\u4ed3\u5e93<\/h2>\n<p>\nGit \u6709\u4e24\u4e2a\u547d\u4ee4\u7528\u6765\u63d0\u53d6\u8fdc\u7a0b\u4ed3\u5e93\u7684\u66f4\u65b0\u3002<\/p>\n<p>1\u3001\u4ece\u8fdc\u7a0b\u4ed3\u5e93\u4e0b\u8f7d\u65b0\u5206\u652f\u4e0e\u6570\u636e\uff1a<\/p>\n<pre>git fetch<\/pre>\n<p>\u8be5\u547d\u4ee4\u6267\u884c\u5b8c\u540e\u9700\u8981\u6267\u884cgit merge \u8fdc\u7a0b\u5206\u652f\u5230\u4f60\u6240\u5728\u7684\u5206\u652f\u3002<\/p>\n<p>2\u3001\u4ece\u8fdc\u7aef\u4ed3\u5e93\u63d0\u53d6\u6570\u636e\u5e76\u5c1d\u8bd5\u5408\u5e76\u5230\u5f53\u524d\u5206\u652f\uff1a<\/p>\n<pre>git merge<\/pre>\n<p>\u8be5\u547d\u4ee4\u5c31\u662f\u5728\u6267\u884c git fetch \u4e4b\u540e\u7d27\u63a5\u7740\u6267\u884c git merge \u8fdc\u7a0b\u5206\u652f\u5230\u4f60\u6240\u5728\u7684\u4efb\u610f\u5206\u652f\u3002<\/p>\n<p>\n\u5047\u8bbe\u4f60\u914d\u7f6e\u597d\u4e86\u4e00\u4e2a\u8fdc\u7a0b\u4ed3\u5e93\uff0c\u5e76\u4e14\u4f60\u60f3\u8981\u63d0\u53d6\u66f4\u65b0\u7684\u6570\u636e\uff0c\u4f60\u53ef\u4ee5\u9996\u5148\u6267\u884c <strong>git fetch [alias]<\/strong><br \/>\n \u544a\u8bc9 Git \u53bb\u83b7\u53d6\u5b83\u6709\u4f60\u6ca1\u6709\u7684\u6570\u636e\uff0c\u7136\u540e\u4f60\u53ef\u4ee5\u6267\u884c <strong>git merge [alias]\/[branch]<\/strong> \u4ee5\u5c06\u670d\u52a1\u5668\u4e0a\u7684\u4efb\u4f55\u66f4\u65b0\uff08\u5047\u8bbe\u6709\u4eba\u8fd9\u65f6\u5019\u63a8\u9001\u5230\u670d\u52a1\u5668\u4e86\uff09\u5408\u5e76\u5230\u4f60\u7684\u5f53\u524d\u5206\u652f\u3002\n<\/p>\n<p>\u63a5\u4e0b\u6765\u6211\u4eec\u5728 Github \u4e0a\u70b9\u51fb&#8221; README.md&#8221; \u5e76\u5728\u7ebf\u4fee\u6539\u5b83:\n<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/03\/C5A6670F-202D-4F2C-8A63-07CEA37BB67A.jpg\"><\/p>\n<p>\u7136\u540e\u6211\u4eec\u5728\u672c\u5730\u66f4\u65b0\u4fee\u6539\u3002<\/p>\n<pre>\n$ git fetch origin\nremote: Counting objects: 3, done.\nremote: Compressing objects: 100% (2\/2), done.\nremote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0\nUnpacking objects: 100% (3\/3), done.\nFrom github.com:tianqixin\/runoob-git-test\n   0205aab..febd8ed  master     -&gt; origin\/master\n<\/pre>\n<p>\u4ee5\u4e0a\u4fe1\u606f&#8221;0205aab..febd8ed  master     -&gt; origin\/master&#8221; \u8bf4\u660e master \u5206\u652f\u5df2\u88ab\u66f4\u65b0\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u66f4\u65b0\u540c\u6b65\u5230\u672c\u5730\uff1a<\/p>\n<pre>\n$ git merge origin\/master\nUpdating 0205aab..febd8ed\nFast-forward\n README.md | 1 +\n 1 file changed, 1 insertion(+)\n<\/pre>\n<p>\u67e5\u770b  README.md  \u6587\u4ef6\u5185\u5bb9\uff1a<\/p>\n<pre>\n$ cat README.md \n# \u83dc\u9e1f\u6559\u7a0b Git \u6d4b\u8bd5\n## \u7b2c\u4e00\u6b21\u4fee\u6539\u5185\u5bb9\n<\/pre>\n<hr>\n<h2>\u63a8\u9001\u5230\u8fdc\u7a0b\u4ed3\u5e93<\/h2>\n<p>\u63a8\u9001\u4f60\u7684\u65b0\u5206\u652f\u4e0e\u6570\u636e\u5230\u67d0\u4e2a\u8fdc\u7aef\u4ed3\u5e93\u547d\u4ee4:<\/p>\n<pre>\ngit push [alias] [branch]\n<\/pre>\n<p>\u4ee5\u4e0a\u547d\u4ee4\u5c06\u4f60\u7684 [branch] \u5206\u652f\u63a8\u9001\u6210\u4e3a [alias] \u8fdc\u7a0b\u4ed3\u5e93\u4e0a\u7684 [branch] \u5206\u652f\uff0c\u5b9e\u4f8b\u5982\u4e0b\u3002<\/p>\n<pre>\n$ touch runoob-test.txt      # \u6dfb\u52a0\u6587\u4ef6\n$ git add runoob-test.txt \n$ git commit -m \"\u6dfb\u52a0\u5230\u8fdc\u7a0b\"\nmaster 69e702d] \u6dfb\u52a0\u5230\u8fdc\u7a0b\n 1 file changed, 0 insertions(+), 0 deletions(-)\n create mode 100644 runoob-test.txt\n\n$ git push origin master    # \u63a8\u9001\u5230 Github\n<\/pre>\n<p>\u91cd\u65b0\u56de\u5230\u6211\u4eec\u7684 Github \u4ed3\u5e93\uff0c\u53ef\u4ee5\u770b\u5230\u6587\u4ef6\u4ee5\u53ca\u63d0\u4ea4\u4e0a\u6765\u4e86\uff1a<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2015\/03\/C5A6670F-202D-4F2C-8A63-07CEA37BB67A-1.jpg\"><\/p>\n<hr>\n<h2>\u5220\u9664\u8fdc\u7a0b\u4ed3\u5e93<\/h2>\n<p>\u5220\u9664\u8fdc\u7a0b\u4ed3\u5e93\u4f60\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\uff1a<\/p>\n<pre>git remote rm [\u522b\u540d]<\/pre>\n<h3>\u5b9e\u4f8b<\/h3>\n<pre>\n$ git remote -v\norigin\u00a0\u00a0\u00a0\u00a0git@github.com:tianqixin\/runoob-git-test.git (fetch)\norigin\u00a0\u00a0\u00a0\u00a0git@github.com:tianqixin\/runoob-git-test.git (push)\n\n# \u6dfb\u52a0\u4ed3\u5e93 origin2\n$ git remote add origin2 git@github.com:tianqixin\/runoob-git-test.git\n\n$ git remote -v\norigin\u00a0\u00a0\u00a0\u00a0git@github.com:tianqixin\/runoob-git-test.git (fetch)\norigin\u00a0\u00a0\u00a0\u00a0git@github.com:tianqixin\/runoob-git-test.git (push)\norigin2\u00a0\u00a0\u00a0\u00a0git@github.com:tianqixin\/runoob-git-test.git (fetch)\norigin2\u00a0\u00a0\u00a0\u00a0git@github.com:tianqixin\/runoob-git-test.git (push)\n\n# \u5220\u9664\u4ed3\u5e93 origin2\n$ git remote rm origin2\n$ git remote -v\norigin\u00a0\u00a0\u00a0\u00a0git@github.com:tianqixin\/runoob-git-test.git (fetch)\norigin\u00a0\u00a0\u00a0\u00a0git@github.com:tianqixin\/runoob-git-test.git (push)\n<\/pre>\n<\/p><\/div>\n<\/p><\/div>\n<span>","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\"><span itemprop=\"description\">Git \u8fdc\u7a0b\u4ed3\u5e93(Github) Git \u5e76\u4e0d\u50cf SVN \u90a3\u6837\u6709\u4e2a\u4e2d\u5fc3\u670d\u52a1\u5668\u3002 \u76ee\u524d\u6211\u4eec\u4f7f&hellip;<\/span><\/p>\n<p class=\"more-link-p btn-align-right\"><a class=\"green zoom-btn\" href=\"https:\/\/www.puzi7.net\/?p=606\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[64,137],"class_list":["post-606","post","type-post","status-publish","format-standard","hentry","category-git","tag-git","tag-tool","zoom-theme-has-thumb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Git \u8fdc\u7a0b\u4ed3\u5e93(Github) - \u8c31\u5b50\u68cb - Puzi7<\/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.puzi7.net\/?p=606\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git \u8fdc\u7a0b\u4ed3\u5e93(Github) - \u8c31\u5b50\u68cb - Puzi7\" \/>\n<meta property=\"og:description\" content=\"Git \u8fdc\u7a0b\u4ed3\u5e93(Github) Git \u5e76\u4e0d\u50cf SVN \u90a3\u6837\u6709\u4e2a\u4e2d\u5fc3\u670d\u52a1\u5668\u3002 \u76ee\u524d\u6211\u4eec\u4f7f&hellip;Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.puzi7.net\/?p=606\" \/>\n<meta property=\"og:site_name\" content=\"\u8c31\u5b50\u68cb - Puzi7\" \/>\n<meta property=\"article:published_time\" content=\"2018-02-23T15:48:57+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.runoob.com\/wp-content\/uploads\/2015\/03\/github1.jpg\" \/>\n<meta name=\"author\" content=\"\u77f3\u8863\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u77f3\u8863\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/?p=606#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/?p=606\"},\"author\":{\"name\":\"\u77f3\u8863\",\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/#\\\/schema\\\/person\\\/87dd4941c8ec260c1350b7f41980a190\"},\"headline\":\"Git \u8fdc\u7a0b\u4ed3\u5e93(Github)\",\"datePublished\":\"2018-02-23T15:48:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/?p=606\"},\"wordCount\":92,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/?p=606#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.runoob.com\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/github1.jpg\",\"keywords\":[\"git\",\"\u5de5\u5177\"],\"articleSection\":[\"Git\u6559\u7a0b\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.puzi7.net\\\/?p=606#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/?p=606\",\"url\":\"https:\\\/\\\/www.puzi7.net\\\/?p=606\",\"name\":\"Git \u8fdc\u7a0b\u4ed3\u5e93(Github) - \u8c31\u5b50\u68cb - Puzi7\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/?p=606#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/?p=606#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/www.runoob.com\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/github1.jpg\",\"datePublished\":\"2018-02-23T15:48:57+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/#\\\/schema\\\/person\\\/87dd4941c8ec260c1350b7f41980a190\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/?p=606#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.puzi7.net\\\/?p=606\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/?p=606#primaryimage\",\"url\":\"http:\\\/\\\/www.runoob.com\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/github1.jpg\",\"contentUrl\":\"http:\\\/\\\/www.runoob.com\\\/wp-content\\\/uploads\\\/2015\\\/03\\\/github1.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/?p=606#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/www.puzi7.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7cfb\u5217\u6559\u7a0b\",\"item\":\"https:\\\/\\\/www.puzi7.net\\\/?cat=15\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Git\u6559\u7a0b\",\"item\":\"https:\\\/\\\/www.puzi7.net\\\/?cat=20\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Git \u8fdc\u7a0b\u4ed3\u5e93(Github)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/#website\",\"url\":\"https:\\\/\\\/www.puzi7.net\\\/\",\"name\":\"\u8c31\u5b50\u68cb - Puzi7\",\"description\":\"\u5206\u4eab\uff0c\u6210\u957f\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.puzi7.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.puzi7.net\\\/#\\\/schema\\\/person\\\/87dd4941c8ec260c1350b7f41980a190\",\"name\":\"\u77f3\u8863\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c52c3a64b447af78e58cfa1c73ddd53952049afcf934cd702d71eee91f9907bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c52c3a64b447af78e58cfa1c73ddd53952049afcf934cd702d71eee91f9907bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c52c3a64b447af78e58cfa1c73ddd53952049afcf934cd702d71eee91f9907bd?s=96&d=mm&r=g\",\"caption\":\"\u77f3\u8863\"},\"sameAs\":[\"https:\\\/\\\/www.puzi7.net\"],\"url\":\"https:\\\/\\\/www.puzi7.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Git \u8fdc\u7a0b\u4ed3\u5e93(Github) - \u8c31\u5b50\u68cb - Puzi7","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.puzi7.net\/?p=606","og_locale":"zh_CN","og_type":"article","og_title":"Git \u8fdc\u7a0b\u4ed3\u5e93(Github) - \u8c31\u5b50\u68cb - Puzi7","og_description":"Git \u8fdc\u7a0b\u4ed3\u5e93(Github) Git \u5e76\u4e0d\u50cf SVN \u90a3\u6837\u6709\u4e2a\u4e2d\u5fc3\u670d\u52a1\u5668\u3002 \u76ee\u524d\u6211\u4eec\u4f7f&hellip;Read More","og_url":"https:\/\/www.puzi7.net\/?p=606","og_site_name":"\u8c31\u5b50\u68cb - Puzi7","article_published_time":"2018-02-23T15:48:57+00:00","og_image":[{"url":"http:\/\/www.runoob.com\/wp-content\/uploads\/2015\/03\/github1.jpg","type":"","width":"","height":""}],"author":"\u77f3\u8863","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u77f3\u8863","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.puzi7.net\/?p=606#article","isPartOf":{"@id":"https:\/\/www.puzi7.net\/?p=606"},"author":{"name":"\u77f3\u8863","@id":"https:\/\/www.puzi7.net\/#\/schema\/person\/87dd4941c8ec260c1350b7f41980a190"},"headline":"Git \u8fdc\u7a0b\u4ed3\u5e93(Github)","datePublished":"2018-02-23T15:48:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.puzi7.net\/?p=606"},"wordCount":92,"commentCount":0,"image":{"@id":"https:\/\/www.puzi7.net\/?p=606#primaryimage"},"thumbnailUrl":"http:\/\/www.runoob.com\/wp-content\/uploads\/2015\/03\/github1.jpg","keywords":["git","\u5de5\u5177"],"articleSection":["Git\u6559\u7a0b"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.puzi7.net\/?p=606#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.puzi7.net\/?p=606","url":"https:\/\/www.puzi7.net\/?p=606","name":"Git \u8fdc\u7a0b\u4ed3\u5e93(Github) - \u8c31\u5b50\u68cb - Puzi7","isPartOf":{"@id":"https:\/\/www.puzi7.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.puzi7.net\/?p=606#primaryimage"},"image":{"@id":"https:\/\/www.puzi7.net\/?p=606#primaryimage"},"thumbnailUrl":"http:\/\/www.runoob.com\/wp-content\/uploads\/2015\/03\/github1.jpg","datePublished":"2018-02-23T15:48:57+00:00","author":{"@id":"https:\/\/www.puzi7.net\/#\/schema\/person\/87dd4941c8ec260c1350b7f41980a190"},"breadcrumb":{"@id":"https:\/\/www.puzi7.net\/?p=606#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.puzi7.net\/?p=606"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.puzi7.net\/?p=606#primaryimage","url":"http:\/\/www.runoob.com\/wp-content\/uploads\/2015\/03\/github1.jpg","contentUrl":"http:\/\/www.runoob.com\/wp-content\/uploads\/2015\/03\/github1.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.puzi7.net\/?p=606#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.puzi7.net\/"},{"@type":"ListItem","position":2,"name":"\u7cfb\u5217\u6559\u7a0b","item":"https:\/\/www.puzi7.net\/?cat=15"},{"@type":"ListItem","position":3,"name":"Git\u6559\u7a0b","item":"https:\/\/www.puzi7.net\/?cat=20"},{"@type":"ListItem","position":4,"name":"Git \u8fdc\u7a0b\u4ed3\u5e93(Github)"}]},{"@type":"WebSite","@id":"https:\/\/www.puzi7.net\/#website","url":"https:\/\/www.puzi7.net\/","name":"\u8c31\u5b50\u68cb - Puzi7","description":"\u5206\u4eab\uff0c\u6210\u957f","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.puzi7.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.puzi7.net\/#\/schema\/person\/87dd4941c8ec260c1350b7f41980a190","name":"\u77f3\u8863","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/secure.gravatar.com\/avatar\/c52c3a64b447af78e58cfa1c73ddd53952049afcf934cd702d71eee91f9907bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c52c3a64b447af78e58cfa1c73ddd53952049afcf934cd702d71eee91f9907bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c52c3a64b447af78e58cfa1c73ddd53952049afcf934cd702d71eee91f9907bd?s=96&d=mm&r=g","caption":"\u77f3\u8863"},"sameAs":["https:\/\/www.puzi7.net"],"url":"https:\/\/www.puzi7.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/www.puzi7.net\/index.php?rest_route=\/wp\/v2\/posts\/606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.puzi7.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.puzi7.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.puzi7.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.puzi7.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=606"}],"version-history":[{"count":0,"href":"https:\/\/www.puzi7.net\/index.php?rest_route=\/wp\/v2\/posts\/606\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.puzi7.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.puzi7.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.puzi7.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}