{"id":27430,"date":"2015-02-07T01:57:32","date_gmt":"2015-02-06T16:57:32","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=27430"},"modified":"2015-02-07T01:57:32","modified_gmt":"2015-02-06T16:57:32","slug":"git-2-3","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/git-2-3\/","title":{"rendered":"\u300cGit 2.3\u300d\u30ea\u30ea\u30fc\u30b9 - Push to deploy\u304c\u53ef\u80fd\u306b\u306a\u3063\u305f\u6a21\u69d8"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/02\/IWindow.jpg\" alt=\"Window\" title=\"Window.jpg\" border=\"0\" width=\"546\" height=\"357\" \/><\/p>\n<p>Git\u958b\u767a\u30c1\u30fc\u30e0\u306f2\u67086\u65e5(\u73fe\u5730\u6642\u9593)\u3001\u5206\u6563\u578b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u300cGit\u300d\u306e\u6700\u65b0\u7248\u300c<a href=\"http:\/\/git-scm.com\/\">Git 2.3.0<\/a>\u300d\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f(<a href=\"http:\/\/www.phoronix.com\/scan.php?page=news_item&px=Git-2.3.0-Released\">Phoronix<\/a>\u3001<a href=\"https:\/\/github.com\/blog\/1957-git-2-3-has-been-released\">GitHub Blog<\/a>)\u3002<\/p>\n<p>Git 2.3.0\u3067\u306f\u3001\u591a\u304f\u306e\u6539\u826f\u3084\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u5411\u4e0a\u3001\u4e0d\u5177\u5408\u306e\u4fee\u6b63\u304c\u304a\u3053\u306a\u308f\u308c\u3066\u304a\u308a\u3001\u5b8c\u5168\u306a\u5909\u66f4\u30ea\u30b9\u30c8\u306f<a href=\"https:\/\/github.com\/gitster\/git\/blob\/v2.3.0\/Documentation\/RelNotes\/2.3.0.txt\">\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8<\/a>\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Git 2.3.0\u306e\u6ce8\u76ee\u306e\u65b0\u6a5f\u80fd\u306e\u4e00\u3064\u306f\u300cPush to deploy\u300d\u3067\u3059\u3002\u5f93\u6765\u30ef\u30fc\u30ad\u30f3\u30b0\u30b3\u30d4\u30fc\u306e\u5185\u5bb9\u3092\u30b5\u30fc\u30d0\u30fc\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u53cd\u6620\u3059\u308b\u5834\u5408(\u30c7\u30d7\u30ed\u30a4\u3059\u308b\u5834\u5408)\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u4e00\u7aef\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u300cgit pull\u300d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002Push to deploy\u306f\u3001\u3053\u306e\u4f5c\u696d\u3092\u4e0d\u8981\u3068\u3059\u308b\u65b0\u6a5f\u80fd\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308c\u3070\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>\n$ git config receive.denyCurrentBranch updateInstead\n<\/pre>\n<p>\u30b5\u30fc\u30d0\u30fc\u306b.git\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u542b\u307e\u308c\u308b\u3001\u30c7\u30d7\u30ed\u30a4\u4e2d\u306b\u30b5\u30fc\u30d0\u30fc\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u72b6\u614b\u304c\u4e2d\u9014\u534a\u7aef\u306a\u72b6\u614b\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3001\u30d3\u30eb\u30c9\u30b9\u30c6\u30c3\u30d7\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u4f7f\u3048\u306a\u3044\u3001\u306a\u3069\u306e\u5236\u9650\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u7d20\u65e9\u304f\u7c21\u6613\u7684\u306a\u30c7\u30d7\u30ed\u30a4\u65b9\u6cd5\u3068\u3057\u3066\u4fbf\u5229\u306a\u65b9\u6cd5\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u306e\u4ed6\u3001\u65e2\u5b58\u306e\u30af\u30ed\u30fc\u30f3\u306e\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u9ad8\u901f\u306b\u30af\u30ed\u30fc\u30f3\u3059\u308b\u6a5f\u80fd\u3084\u3001git push\u306e\u6319\u52d5\u306e\u5909\u66f4\u3001\u67d4\u8edf\u306assh\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u3092\u53ef\u80fd\u306b\u3059\u308bGIT_SSH_COMMAND\u30b7\u30a7\u30eb\u5909\u6570\u306e\u8ffd\u52a0\u306a\u3069\u3082\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Git\u958b\u767a\u30c1\u30fc\u30e0\u306f2\u67086\u65e5(\u73fe\u5730\u6642\u9593)\u3001\u5206\u6563\u578b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u300cGit\u300d\u306e\u6700\u65b0\u7248\u300cGit 2.3.0\u300d\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f(Phoronix\u3001GitHub Blog)\u3002 Git 2.3.0\u3067\u306f\u3001\u591a\u304f\u306e\u6539\u826f\u3084\u3001\u30d1\u30d5\u30a9 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":27429,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[159],"class_list":["post-27430","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-git"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/27430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=27430"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/27430\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/27429"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=27430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=27430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=27430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}