{"id":6938,"date":"2020-04-29T19:21:27","date_gmt":"2020-04-29T11:21:27","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6938"},"modified":"2020-04-29T19:21:29","modified_gmt":"2020-04-29T11:21:29","slug":"svn","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/svn","title":{"rendered":"svn\u547d\u4ee4 – subversion\u547d\u4ee4\u884c\u5ba2\u6237\u7aef\u7a0b\u5e8f"},"content":{"rendered":"\n
svn\u547d\u4ee4\u662fsubversion\u547d\u4ee4\u884c\u5ba2\u6237\u7aef\u7a0b\u5e8f\uff0c\u5927\u90fd\u6570\u7684\u5b50\u547d\u4ee4\u53ef\u63a5\u53d7\u6587\u4ef6\u6216\u76ee\u5f55\u53c2\u6570\uff0c\u5bf9\u76ee\u5f55\u8fdb\u884c\u9012\u5f52\u5904\u7406\u3002\u5982\u679c\u6307\u5b9a\u53c2\u6570\uff0c\u9ed8\u8ba4\u5bf9\u5f53\u524d\u76ee\u5f55\u8fdb\u884c\u9012\u5f52\u5904\u7406\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>svn [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u5e38\u7528\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u4ece\u7248\u672c\u5e93\u7b7e\u51fa\u5de5\u4f5c\u526f\u672c\uff1a<\/p>\n\n\n\n \u5f80\u7248\u672c\u5e93\u4e2d\u6dfb\u52a0\u65b0\u7684\u6587\u4ef6test.php\uff1a<\/p>\n\n\n\n \u5c06\u6587\u4ef6checkout\u5230\u672c\u5730\u76ee\u5f55:<\/p>\n\n\n\n svn\u547d\u4ee4\u662fsubversion\u547d\u4ee4\u884c\u5ba2\u6237\u7aef\u7a0b\u5e8f\uff0c\u5927\u90fd\u6570\u7684\u5b50\u547d\u4ee4\u53ef\u63a5\u53d7\u6587\u4ef6\u6216\u76ee\u5f55\u53c2\u6570\uff0c\u5bf9\u76ee\u5f55\u8fdb\u884c\u9012\u5f52\u5904\u7406\u3002\u5982\u679c […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6938"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=6938"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6938\/revisions"}],"predecessor-version":[{"id":7185,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6938\/revisions\/7185"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}add<\/td> \u628a\u6587\u4ef6\u548c\u76ee\u5f55\u7eb3\u5165\u7248\u672c\u63a7\u5236\uff0c\u901a\u8fc7\u8c03\u5ea6\u6dfb\u52a0\u5230\u7248\u672c\u5e93<\/td><\/tr> copy<\/td> \u5728\u5de5\u4f5c\u526f\u672c\u6216\u7248\u672c\u4e2d\u590d\u5236\u6570\u636e\uff0c\u4fdd\u7559\u5386\u53f2<\/td><\/tr> checkout<\/td> \u4ece\u7248\u672c\u5e93\u4e2d\u7b7e\u51fa\u5de5\u4f5c\u526f\u672c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# svn checkout svn:\/\/192.168.0.2 \/root\/subversion<\/pre>\n\n\n\n
[root@linuxcool ~]# svn add test.php<\/pre>\n\n\n\n
[root@linuxcool ~]# svn checkout svn:\/\/192.168.1.1\/pro\/domain<\/pre>\n","protected":false},"excerpt":{"rendered":"