{"id":32,"date":"2014-05-12T00:21:00","date_gmt":"2014-05-11T15:21:00","guid":{"rendered":"http:\/\/the-takeo.expressweb.jp\/?p=32"},"modified":"2014-10-05T01:34:09","modified_gmt":"2014-10-04T16:34:09","slug":"github%e4%bd%9c%e6%a5%ad%e3%81%ae%e4%b8%80%e9%80%a3%e3%83%97%e3%83%ad%e3%82%bb%e3%82%b9","status":"publish","type":"post","link":"http:\/\/the-takeo.com\/?p=32","title":{"rendered":"github\u4f5c\u696d\u306e\u4e00\u9023\u30d7\u30ed\u30bb\u30b9"},"content":{"rendered":"<p>\u4ed5\u4e8b\u3067github\u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u3063\u305f\u306e\u3067\u4f7f\u3044\u65b9\u306e\u30e1\u30e2<\/p>\n<hr \/>\n<p><b>\u30fb\u524d\u63d0<\/b><br \/>github\u4e0a\u306b\u76ee\u7684\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u304c\u65e2\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u3002<br \/>git\u3084SSH\u7b49\u306e\u8a2d\u5b9a\u6e08<\/p>\n<p><b>1)\u30ec\u30dd\u30b8\u30c8\u30ea\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30af\u30ed\u30fc\u30f3\u3059\u308b<\/b><\/p>\n<ul>\n<li><i>git clone &lt;\u30ea\u30e2\u30fc\u30c8\u30ec\u30dd\u30b8\u30c8\u30ea&gt;<\/i><\/li>\n<\/ul>\n<div><b>2)\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u306f\u4f5c\u6210\u3059\u308b<\/b><\/div>\n<div>\n<ul>\n<li><i>git branch -b &lt;\u30d6\u30e9\u30f3\u30c1\u540d&gt;<\/i><\/li>\n<\/ul>\n<\/div>\n<div><b>3)\u4f5c\u696d\u7d42\u4e86\u5f8c\u3001git\u306e\u8ffd\u8de1\u5bfe\u8c61\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u8de1\u5bfe\u8c61\u306b\u3059\u308b<\/b><\/div>\n<div>\n<ul>\n<li><i>git add &#8211;all<\/i><\/li>\n<li>(<i>&#8211;all<\/i>\u3068\u3059\u308b\u3053\u3068\u3067\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5168\u3066\u3092<i>add<\/i>\u3067\u304d\u308b)<\/li>\n<li>(&#8220;<i>git add .<\/i>&#8220;\u3067\u3082\u826f\u3044\u304c\u3001\u3053\u308c\u306f\u524a\u9664\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001&#8221;<i>git rm &lt;\u30d5\u30a1\u30a4\u30eb\u540d&gt;<\/i>&#8220;\u304c\u5fc5\u8981\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308b\u3002\u7d30\u304b\u3044\u3053\u3068\u3092\u8a2d\u5b9a\u3057\u306a\u3044\u306a\u3089<i>&#8211;all<\/i>\u306e\u65b9\u304c\u697d)<\/li>\n<\/ul>\n<\/div>\n<div><b>4)\u30b3\u30df\u30c3\u30c8\u3059\u308b<\/b><\/div>\n<div>\n<ul>\n<li><i>git commit -m &lt;\u30b3\u30e1\u30f3\u30c8&gt;<\/i><\/li>\n<\/ul>\n<\/div>\n<div><b>5)\u30ea\u30e2\u30fc\u30c8\u30ec\u30dd\u30b8\u30c8\u30ea\u306b\u30d7\u30c3\u30b7\u30e5\u3059\u308b<\/b><\/div>\n<div>\n<ul>\n<li><i>git push<\/i><\/li>\n<li>(\u30ed\u30fc\u30ab\u30eb\u3067\u30d6\u30e9\u30f3\u30c1\u3092\u4f5c\u6210\u3057\u305f\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b)<\/li>\n<li><i>git push origin &lt;\u30d6\u30e9\u30f3\u30c1\u540d&gt;<\/i><\/li>\n<\/ul>\n<\/div>\n<hr \/>\n<div>\u4ee5\u4e0a\u3002<\/div>\n<div>\u3068\u3053\u308d\u3069\u3053\u308d\u3067<i>git status<\/i>\u3057\u3066\u3061\u3083\u3093\u3068\u64cd\u4f5c\u51fa\u6765\u3066\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3068\u30df\u30b9\u3092\u6e1b\u3089\u305b\u308b\u3002<\/div>\n<div><\/div>\n<div>git\u3063\u3066\u601d\u3063\u305f\u3088\u308a\u3061\u3083\u3093\u3068\u30e1\u30c3\u30bb\u30fc\u30b8\u8868\u793a\u3057\u3066\u308b\u306e\u306d\u3002<\/div>\n<div>\u5931\u6557\u3057\u305f\u6642\u306f\u30b0\u30b0\u308b\u524d\u306b\u3061\u3083\u3093\u3068\u30e1\u30c3\u30bb\u30fc\u30b8\u8aad\u3080\u3068git\u3078\u306e\u7406\u89e3\u304c\u6df1\u307e\u308b\u304b\u3082\u3063\u3066\u601d\u3063\u305f\u308a\u3002<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4ed5\u4e8b\u3067github\u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u3063\u305f\u306e\u3067\u4f7f\u3044\u65b9\u306e\u30e1\u30e2 \u30fb\u524d\u63d0github\u4e0a\u306b\u76ee\u7684\u306e\u30ec\u30dd\u30b8\u30c8\u30ea\u304c\u65e2\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u3002git\u3084SSH\u7b49\u306e\u8a2d\u5b9a\u6e08 1)\u30ec\u30dd\u30b8\u30c8\u30ea\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30af\u30ed\u30fc\u30f3\u3059\u308b git clone &lt;\u30ea\u30e2\u30fc\u30c8\u30ec\u30dd\u30b8 [&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-32","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\/32","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=32"}],"version-history":[{"count":1,"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":244,"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions\/244"}],"wp:attachment":[{"href":"http:\/\/the-takeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/the-takeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/the-takeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}