{"id":28,"date":"2014-05-15T00:10:00","date_gmt":"2014-05-14T15:10:00","guid":{"rendered":"http:\/\/the-takeo.expressweb.jp\/?p=28"},"modified":"2014-10-05T01:34:09","modified_gmt":"2014-10-04T16:34:09","slug":"issue%e3%81%8b%e3%82%89pullrequest%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"http:\/\/the-takeo.com\/?p=28","title":{"rendered":"Issue\u304b\u3089PullRequest\u3092\u4f5c\u6210\u3059\u308b"},"content":{"rendered":"<p>hub\u30b3\u30de\u30f3\u30c9\u3067\u50d5\u304c\u4e00\u756a\u4f7f\u3046\u306e\u304cIssue\u3092PullRequest\u306b\u5909\u66f4\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3002<\/p>\n<div>\uff08\u3063\u3066\u3044\u3046\u304b\u3053\u308c\u3057\u304b\u4f7f\u308f\u306a\u3044\u3002\u6975\u529b\u8907\u96d1\u306a\u3053\u3068\u306f\u4fbf\u5229\u3067\u3042\u3063\u3066\u3082\u3057\u305f\u304f\u306a\u3044\u306e\u3067\u3059\uff09<\/p>\n<div>\u7406\u7531\u306f\u4ed5\u4e8b\u3067\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304cIssue\u3054\u3068\u306bPullRequest\u3092\u4f5c\u6210\u3057\u3066\u3001<\/div>\n<div>\u30ec\u30d3\u30e5\u30fc\u3092\u8cb0\u3063\u3066\u30de\u30fc\u30b8\u3059\u308b\u3068\u3044\u3046\u65b9\u5f0f\u3060\u304b\u3089\u3002<\/div>\n<div>\u6b63\u76f4Issue\u3044\u3089\u306a\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u306a\u3063\u3066\u601d\u3063\u3066\u308b\u3002<\/div>\n<div><\/div>\n<div>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3001\u5c06\u6765\u7684\u306b\u306f\u7121\u304f\u306a\u308b\u3089\u3057\u3044\u3002<\/div>\n<div>\u3051\u3069\u4eca\u306f\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u4f7f\u3044\u65b9\u3092\u30e1\u30e2\u3057\u3066\u304a\u304f\u3002<\/div>\n<hr \/>\n<div><b>1)PullRequest\u7528\u306e\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b<\/b><\/div>\n<div>\n<ul>\n<li><code>git checkout -b \"\u30d6\u30e9\u30f3\u30c1\u540d\"<\/code><\/li>\n<\/ul>\n<\/div>\n<div><b>2)PullRequest\u4f5c\u6210\u306e\u305f\u3081\u306b\u30b3\u30df\u30c3\u30c8\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001\u7a7a\u306e\u30b3\u30df\u30c3\u30c8\u3092\u884c\u3046<\/b><\/div>\n<div>\n<ul>\n<li><code>git commit --allow-empty -m \"\u30b3\u30df\u30c3\u30c8\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\"<\/code><\/li>\n<\/ul>\n<\/div>\n<div><b>3)\u30ea\u30e2\u30fc\u30c8\u30ec\u30dd\u30b8\u30c8\u30ea(\u3063\u3066\u304bGitHub)\u4e0a\u306bpush\u3059\u308b<\/b><\/div>\n<div>\n<ul>\n<li><code>git push origin \"\u30d6\u30e9\u30f3\u30c1\u540d\"<\/code><\/li>\n<\/ul>\n<div><b>4)hub\u30b3\u30de\u30f3\u30c9\u3067issue\u3092\u73fe\u30d6\u30e9\u30f3\u30c1\u304b\u3089\u4f5c\u6210\u3055\u308c\u305fPullRequest\u306b\u5909\u66f4\u3059\u308b<\/b><\/div>\n<\/div>\n<div>\n<ul>\n<li><code>hub pull-request -i \"Issue\u756a\u53f7\" -b \"\u30d9\u30fc\u30b9\u306b\u3059\u308b\u30d6\u30e9\u30f3\u30c1\u540d\"<\/code><\/li>\n<\/ul>\n<\/div>\n<hr \/>\n<div>\u4ee5\u4e0a\u3002<\/div>\n<\/div>\n<div><\/div>\n<div>4)\u306e&#8221;-b&#8221;\u3092\u305a\u3063\u3068&#8221;branch&#8221;\u3060\u3068\u52d8\u9055\u3044\u3057\u3066\u3044\u305f\u3002<\/div>\n<div>&#8220;base&#8221;\u306e\u610f\u5473\u3060\u305d\u3046\u3067\u3059\u3002<\/div>\n<div>2)\u304c\u5fc5\u8981\u3060\u3063\u305f\u308a\u3001\u3053\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3042\u307e\u308a\u3088\u304f\u306a\u3044\u6c17\u304c\u3059\u308b\u306a\u3002<\/p>\n<\/div>\n<div>\u624b\u5143\u306b\u8cc7\u6599\u304c\u306a\u3044\u72b6\u614b\u3067\u66f8\u3044\u3066\u308b\u306e\u3067\u9593\u9055\u3063\u3066\u308b\u3068\u3053\u308d\u304c\u3042\u308b\u304b\u3082\u3002<\/div>\n<div>\u8cc7\u6599\u898b\u3066\u9593\u9055\u3063\u3066\u305f\u3089\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n<hr \/>\n<div>\u8ffd\u8a1820140515<br \/>2)\u306e\u30b3\u30de\u30f3\u30c9\u304c\u9593\u9055\u3063\u3066\u3044\u305f\u306e\u3067\u4fee\u6b63\u3002<\/p>\n<p>\u8ffd\u8a1820140517<br \/>\u8a00\u3046\u307e\u3067\u3082\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u65e2\u306b\u5909\u66f4\u304c\u52a0\u308f\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u308f\u3056\u308f\u30562)\u3092\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\u666e\u901a\u306b\u30b3\u30df\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\u81ea\u5206\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3067\u306f\u300c\u4f5c\u696d\u524d\u306b\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u4f5c\u6210\u3059\u308b\u300d\u3068\u3044\u3046\u30eb\u30fc\u30eb\u304c\u3042\u308b\u306e\u3067\u3001<br \/>\u4f5c\u696d\u524d\u306b\u7a7a\u30b3\u30df\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u4f5c\u6210\u53ef\u80fd\u72b6\u614b\u306b\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u3002<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>hub\u30b3\u30de\u30f3\u30c9\u3067\u50d5\u304c\u4e00\u756a\u4f7f\u3046\u306e\u304cIssue\u3092PullRequest\u306b\u5909\u66f4\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3002 \uff08\u3063\u3066\u3044\u3046\u304b\u3053\u308c\u3057\u304b\u4f7f\u308f\u306a\u3044\u3002\u6975\u529b\u8907\u96d1\u306a\u3053\u3068\u306f\u4fbf\u5229\u3067\u3042\u3063\u3066\u3082\u3057\u305f\u304f\u306a\u3044\u306e\u3067\u3059\uff09 \u7406\u7531\u306f\u4ed5\u4e8b\u3067\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304cIssue\u3054\u3068\u306bPull [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-28","post","type-post","status-publish","format-standard","hentry","category-git","category-programming"],"_links":{"self":[{"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/posts\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/the-takeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":1,"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":240,"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/posts\/28\/revisions\/240"}],"wp:attachment":[{"href":"http:\/\/the-takeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/the-takeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/the-takeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}