{"id":7533,"date":"2021-12-13T11:45:37","date_gmt":"2021-12-13T02:45:37","guid":{"rendered":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/?p=7533"},"modified":"2022-09-27T18:34:07","modified_gmt":"2022-09-27T09:34:07","slug":"svn%e7%92%b0%e5%a2%83%e3%81%8b%e3%82%89git%e7%92%b0%e5%a2%83%e3%81%b8%e3%81%ae%e7%a7%bb%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/archives\/7533","title":{"rendered":"svn\u74b0\u5883\u304b\u3089git\u74b0\u5883\u3078\u306e\u79fb\u884c"},"content":{"rendered":"<div class=\"veu_autoEyeCatchBox\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"500\" src=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2021\/12\/pic_c076-1024x683.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"\" srcset=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2021\/12\/pic_c076-1024x683.jpg 1024w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2021\/12\/pic_c076-300x200.jpg 300w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2021\/12\/pic_c076-768x512.jpg 768w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2021\/12\/pic_c076.jpg 1280w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/div>\n<p>\u5148\u65e5\u8077\u5834\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3092\u4e00\u90e8svn\u304b\u3089git\u306b\u79fb\u884c\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u306e\u969b\u306e\u30b3\u30de\u30f3\u30c9\u306a\u3069\u3092\u5099\u5fd8\u9332\u3092\u517c\u306d\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>\u25a0\u76ee\u7684<\/h3>\n<p>http:\/\/xxxx\/subversion<\/p>\n<p style=\"padding-left: 40px;\">\u2523branches<br \/>\n\u2503\u2523branch1<br \/>\n\u2503\u2523branch2<br \/>\n\u2503\u2523branch3\u00a0\u00a0\u00a0 \u2190\u3053\u306e\u30d6\u30e9\u30f3\u30c1\u306e\u307f\u3092git\u306b\u79fb\u884c<br \/>\n\u2503\u30fb\u30fb<br \/>\n\u2523tags<br \/>\n\u2517trunk<\/p>\n<p>&nbsp;<\/p>\n<h3>\u25a0\u4f5c\u696d\u74b0\u5883<\/h3>\n<p>windows<\/p>\n<p>&nbsp;<\/p>\n<h3>\u25a0\u4f7f\u7528\u30c4\u30fc\u30eb<\/h3>\n<p>git for windows<\/p>\n<p>&nbsp;<\/p>\n<h3>\u25a0\u624b\u9806<\/h3>\n<h5>(1)git\u306e\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210<\/h5>\n<pre class=\"lang:default highlight:0 decode:true\" style=\"padding-left: 80px;\">git svn init --prefix=svn\/ --trunk=branches\/branch3 http:\/\/xxxx\/subversion<\/pre>\n<p style=\"padding-left: 40px;\">&#8211;trunkd\u3067git\u30ea\u30dd\u30b8\u30c8\u30ea\u306emaster\u306b\u306a\u308bsvn\u306e\u30d1\u30b9\u3092\u6307\u5b9a<\/p>\n<p style=\"padding-left: 40px;\">&#8211;tags\u3001&#8211;branches\u3067\u30bf\u30b0\u3001\u30d6\u30e9\u30f3\u30c1\u3082\u6307\u5b9a\u3067\u304d\u308b\u304c\u4eca\u56de\u306f\u4e0d\u8981<\/p>\n<p>&nbsp;<\/p>\n<h5>(2)svn\u3092git\u306e\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5909\u63db<\/h5>\n<pre class=\"lang:default highlight:0 decode:true\">git svn fetch -r [Revision]:HEAD<\/pre>\n<p style=\"padding-left: 40px;\">Svn\u306e\u6b74\u53f2\u304c\u53e4\u304f\u3001fetch\u306b\u6642\u9593\u304c\u304b\u304b\u3063\u305f\u305f\u3081\u3001-r [Revision]:HEAD\u3067[Revision]\u304b\u3089\u6700\u65b0\u307e\u3067\u306e\u5c65\u6b74\u306e\u307f\u3092\u5f15\u304d\u7d99\u3050<\/p>\n<p>&nbsp;<\/p>\n<p>\u3053\u306e\u6bb5\u968e\u3067\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u306fsvn\u306e\u307e\u307e\u3001\u30ed\u30fc\u30ab\u30eb\u3067git\u7ba1\u7406\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd<\/p>\n<p>[svn\u306eupdate\u306b\u5f53\u305f\u308b\u30b3\u30de\u30f3\u30c9]<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">git svn fetch\r\ngit merge svn\/trunk\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>[svn\u306ecommit\u306b\u5f53\u305f\u308b\u30b3\u30de\u30f3\u30c9]<\/p>\n<pre class=\"lang:default highlight:0 decode:true\">git svn commit\u3000\u2013a\r\ngit svn dcommit\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h5>(3)\u3042\u3089\u304b\u3058\u3081\u7528\u610f\u3057\u3066\u304a\u3044\u305f\u30ea\u30e2\u30fc\u30c8\u306egit\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0<\/h5>\n<pre class=\"lang:default highlight:0 decode:true\">git remote add origin http:\/\/yyyy\/zzzz.git<\/pre>\n<p>&nbsp;<\/p>\n<h5>(4)git\u30ea\u30dd\u30b8\u30c8\u30ea\u306bpush<\/h5>\n<pre class=\"lang:default highlight:0 decode:true\">git push -u origin master<\/pre>\n<p>&nbsp;<\/p>\n<p>\u3053\u308c\u3067\u79fb\u884c\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-7534\" src=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2021\/12\/pic_c076-300x200.jpg\" alt=\"\" width=\"300\" height=\"200\" srcset=\"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2021\/12\/pic_c076-300x200.jpg 300w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2021\/12\/pic_c076-1024x683.jpg 1024w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2021\/12\/pic_c076-768x512.jpg 768w, https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-content\/uploads\/2021\/12\/pic_c076.jpg 1280w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<hr \/>\n<p>\u25c6WEB\u4f1a\u8b70\uff0f\u30bb\u30df\u30ca\u30fc\u30b7\u30b9\u30c6\u30e0\u300eSzia\u300f<br \/>\n<a href=\"https:\/\/www.ois-yokohama.co.jp\/szia\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.ois-yokohama.co.jp\/szia\/<\/a><\/p>\n<p>\u25c6\u30b5\u30fc\u30d0\u30b5\u30a4\u30c9\u3067\u52d5\u4f5c\u3059\u308b\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u300eReDois\u300f<br \/>\n<a href=\"https:\/\/www.ois-yokohama.co.jp\/redois\/wp_redois\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.ois-yokohama.co.jp\/redois\/wp_redois\/<\/a><\/p>\n<p>\u25c6AI\u304c\u30c8\u30ec\u30f3\u30c9\u30c8\u30d4\u30c3\u30af\u3092\u3082\u3068\u306b\u3001\u8aad\u307e\u308c\u305d\u3046\u306a\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u3092\u81ea\u52d5\u751f\u6210\u300eAI Title Maker\u300f<br \/>\n<a href=\"https:\/\/ai-title.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/ai-title.com\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u65e5\u8077\u5834\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3092\u4e00\u90e8svn\u304b\u3089git\u306b\u79fb\u884c\u3057\u307e\u3057\u305f\u3002 \u305d\u306e\u969b\u306e\u30b3\u30de\u30f3\u30c9\u306a\u3069\u3092\u5099\u5fd8\u9332\u3092\u517c\u306d\u3066\u307e\u3068\u3081\u307e\u3057\u305f\u3002 &nbsp; \u25a0\u76ee\u7684 http:\/\/xxxx\/subversion \u2523branches \u2503\u2523branch [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7534,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"vkexunit_cta_each_option":"","footnotes":""},"categories":[657],"tags":[],"class_list":["post-7533","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-657"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/7533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/comments?post=7533"}],"version-history":[{"count":2,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/7533\/revisions"}],"predecessor-version":[{"id":7536,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/posts\/7533\/revisions\/7536"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/media\/7534"}],"wp:attachment":[{"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/media?parent=7533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/categories?post=7533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ois-yokohama.co.jp\/oisblog2018\/wp-json\/wp\/v2\/tags?post=7533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}