{"id":510,"date":"2024-08-12T17:40:49","date_gmt":"2024-08-12T09:40:49","guid":{"rendered":"https:\/\/thereisno.top:4430\/?p=510"},"modified":"2024-08-12T17:40:50","modified_gmt":"2024-08-12T09:40:50","slug":"git-%e6%93%8d%e4%bd%9c%e6%80%bb%e7%bb%93","status":"publish","type":"post","link":"https:\/\/thereisno.top\/?p=510","title":{"rendered":"Git \u64cd\u4f5c\u603b\u7ed3"},"content":{"rendered":"\n<p>\u4e00\u3001\u5728A\u673a\u5668\u4e0a\u521b\u5efa\u9879\u76ee<\/p>\n\n\n\n<p>1\u3001eclipse\u521b\u5efa\u9879\u76ee<\/p>\n\n\n\n<p>2\u3001github\u521b\u5efa\u4ed3\u5e93<\/p>\n\n\n\n<p>3\u3001eclipse share project\uff0c\u8fde\u63a5github<\/p>\n\n\n\n<p>4\u3001fetch remot from github\uff0cmerge<\/p>\n\n\n\n<p>5\u3001push to github<\/p>\n\n\n\n<p>\u4e8c\u3001B\u673a\u5668\u4ecegit\u521b\u5efa\u9879\u76ee<\/p>\n\n\n\n<p>7\u3001import from git<\/p>\n\n\n\n<p>8\u3001\u9009\u62e9\u5b58\u653e\u8def\u5f84\uff0c\u8fd9\u91cc\u5b58\u653e\u8def\u5f84\u5c31\u662feclipse\u5b9e\u9645\u8def\u5f84\uff0c\u6ca1\u6709\u4fdd\u5b58\u5230\u539fworkspace<\/p>\n\n\n\n<p>9\u3001fetch from remote\uff0c\u7136\u540emerge \uff0c\u5148fetch\u624d\u53ef\u4ee5\u540e\u7eedpush\uff0c\u5982\u679c\u65e0\u6cd5push\u53ef\u80fd\u662f\u6ca1\u6709fetch\u6700\u65b0\u4ee3\u7801<\/p>\n\n\n\n<p>10\u3001\u4fee\u6539\u7f16\u8f91\u4ee3\u7801<\/p>\n\n\n\n<p>11\u3001push remote<\/p>\n\n\n\n<p>\u4e09\u3001A\u83b7\u53d6\u66f4\u65b0\u4ee3\u7801<\/p>\n\n\n\n<p>12\u3001fetch remot from github\uff0cmerge<\/p>\n\n\n\n<p>\u56db\u3001\u65e0\u6cd5\u6dfb\u52a0lib\/jar<\/p>\n\n\n\n<p>13\u3001\u9009\u62e9lib\uff0cignore<\/p>\n\n\n\n<p>14\u3001\u7f16\u8f91ignore\u6587\u4ef6\uff0c\u627e\u5230\u4f4d\u7f6e \u6dfb\u52a0\uff01<\/p>\n\n\n\n<p>\u4e94\u3001\u56de\u6eda<\/p>\n\n\n\n<p>15\u3001\u9009\u62e9\u9879\u76ee\uff0cshow history \u9009\u62e9\u63d0\u4ea4\uff0crevert commit<\/p>\n\n\n\n<p>16\u3001revert commit\u4e0d\u80fd\u89e3\u51b3\u7684reset \u5f3a\u5236\u56de\u6eda\uff08\u614e\u7528\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u5728A\u673a\u5668\u4e0a\u521b\u5efa\u9879\u76ee 1\u3001eclipse\u521b\u5efa\u9879\u76ee 2\u3001github\u521b\u5efa\u4ed3\u5e93 3\u3001eclipse share  &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/thereisno.top\/?p=510\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cGit \u64cd\u4f5c\u603b\u7ed3\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[2],"class_list":["post-510","post","type-post","status-publish","format-standard","hentry","category-git","tag-git"],"_links":{"self":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts\/510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=510"}],"version-history":[{"count":1,"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts\/510\/revisions"}],"predecessor-version":[{"id":511,"href":"https:\/\/thereisno.top\/index.php?rest_route=\/wp\/v2\/posts\/510\/revisions\/511"}],"wp:attachment":[{"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thereisno.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}