{"id":173,"date":"2016-05-06T19:31:10","date_gmt":"2016-05-06T10:31:10","guid":{"rendered":"https:\/\/iwako.pgw.jp\/?p=173"},"modified":"2019-03-28T12:42:09","modified_gmt":"2019-03-28T03:42:09","slug":"%e6%8b%be%e6%8d%8c-git%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/iwako.pgw.jp\/?p=173","title":{"rendered":"\u62fe\u634c-GIT\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-174 aligncenter\" src=\"https:\/\/iwako.pgw.jp\/wp-content\/uploads\/2016\/05\/gitgit.gif\" alt=\"gitgit\" width=\"283\" height=\"236\" \/><\/p>\n<p>GIT\u3068\u306f\u5206\u6563\u578b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30c4\u30fc\u30eb\u3067\u3042\u308b\uff01\uff08\u53d7\u3051\u8ce3\u308a\uff09<br \/>\n\u7d30\u304b\u3044\u3053\u3068\u306fggrks\u2026\u3082\u3068\u3044\u5272\u611b\u3002<\/p>\n<p>GIT\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u6975\u3081\u3066\u7c21\u55ae\u3002<br \/>\ndebian\u7cfb\u306f\u306a\u3093\u305b\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u3044\u308b\u306e\u3060\u304b\u3089\u3002<br \/>\nraspibian\u306f\u3069\u3046\u3060\u3063\u305f\u304b\u306a\u3002<br \/>\n\u5fd8\u308c\u305f\u3002\u307e\u3001\u3044\u3044\u304b\u3002\u305d\u3093\u306a\u6642\u306f\u3001<br \/>\n$ git version<br \/>\n\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u3002<br \/>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u8868\u8a18\u304c\u51fa\u306a\u3051\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u3002<br \/>\n$ sudo apt-get install git<br \/>\n\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br \/>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u30fb\u30fb\u30fbgit version 2.1.4<br \/>\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3042\u3093\u307e\u308a\u65b0\u3057\u304f\u306a\u3055\u305d\u3046\u3002<br \/>\n\u3067\u3082\u4f7f\u3048\u308b\u306e\u3067\u826f\u3057\u3068\u3057\u3088\u3046\u3002<br \/>\n\u3055\u3089\u306b\u3001\u30d6\u30e9\u30f3\u30c1\u306e\u7ba1\u7406\u30e2\u30c7\u30eb\u306bgit-flow\u3092\u4f7f\u7528\u3059\u308b\u306e\u3067\u3001<br \/>\n\u540c\u6642\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<br \/>\n$ sudo apt-get install git-flow<br \/>\n\u4e00\u61c9\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30c1\u30a7\u30c3\u30af\u3002<br \/>\n$ git flow version<br \/>\n1.8.0 (AVH Edition)<br \/>\n\u3068\u3044\u3046\u8868\u8a18\u304c\u51fa\u308b\u3068\u601d\u308f\u308c\u308b\u3002<br \/>\n\u3068\u3053\u308d\u3067AVH Edition\u3063\u3066\u306a\u3093\u3060\uff1f\u308f\u304b\u308b\u4eba\u654e\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3055\u3066\u3001GIT\u3092\u4f7f\u3046\u306b\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306b\u3082GIT\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<br \/>\nmac\u306e\u5834\u5408GIT\u304c\u6700\u521d\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\n\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u3092\u3059\u308c\u3070\u51fa\u3066\u304f\u308b\u3060\u308d\u3046\u3002<br \/>\n\u305f\u3060\u3057\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u5834\u5408\u304c\u3042\u308b\u3002\u3063\u3066\u304b\u591a\u5206\u53e4\u3044\u3002<br \/>\n\u305d\u3053\u3067mac\u306eGIT\u3082\u3067\u304d\u308b\u3060\u3051\u65b0\u3057\u3044\u3082\u306e\u3092\u5c0e\u5165\u3059\u308b\u3002<br \/>\n\u4eca\u56d8\u306fmac\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30c4\u30fc\u30ebHome Brew\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<br \/>\nHome Brew\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001Home Brew\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u308b\u3002<br \/>\n\/usr\/bin\/ruby -e &#8220;$(curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/master\/install)&#8221;<br \/>\n\u4e0a\u8a18\u3092\u30b3\u30d4\u30da\u3057\u3066\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u8cbc\u308a\u4ed8\u3051\u308b\u3002<br \/>\n\u203bhome brew\u306fmac\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30c4\u30fc\u30eb\u3002<\/p>\n<p>$ sudo brew install git<br \/>\n\u3053\u308c\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u81ea\u9ad4\u306f\u5b8c\u4e86\u3059\u308b\u3002<br \/>\n\u3057\u304b\u3057\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u3044\u307e\u307e\u306e\u30b1\u30fc\u30b9\u304c\u307e\u307e\u3042\u308b\u3002<br \/>\n\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u3092\u3057\u3066\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3(version 1\u7cfb\u203b2\u7cfb\u305d\u306e\u307e\u307e\u4f7f\u7528\u3057\u3066\u3082\u826f\u3044)\u306e\u307e\u307e\u306a\u3089\u3001<br \/>\nmac\u306e\u30d7\u30ecGIT\u304c\u512a\u5148\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3092brew\u5074\u306eGIT\u3092\u5148\u306b\u8b80\u307e\u305b\u308b\u3088\u3046\u8a2d\u5b9a\u3059\u308b\u3002<br \/>\n\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b.bash_profile\u3092\u7de8\u96c6\u3057\u3066\u30d1\u30b9\u3092\u901a\u3059\u3002<br \/>\n$ vim ~\/.bash_profile<br \/>\n\u3068\u53e9\u304d\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u3001<br \/>\nexport PATH=\/usr\/local\/git\/bin:$PATH<br \/>\n\u3053\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3059\u308b\u3002<br \/>\n\u3053\u306e\u72c0\u614b\u3067\u3001\u4e00\u61c9\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30c1\u30a7\u30c3\u30af\u3002<br \/>\n$ git flow version<br \/>\ngit version 2.6.3<br \/>\n\u3066\u306a\u611f\u3058\u3067\u6700\u65b0\u306b\u306a\u3063\u3066\u3044\u305f\u3089\u5b8c\u4e86\u3002<\/p>\n<p>\u6b21\u306fgit\u3092\u5be6\u969b\u306b\u4f7f\u3063\u3066\u307f\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GIT\u3068\u306f\u5206\u6563\u578b\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u30c4\u30fc\u30eb\u3067\u3042\u308b\uff01\uff08\u53d7\u3051\u8ce3\u308a\uff09 \u7d30\u304b\u3044\u3053\u3068\u306fggrks\u2026\u3082\u3068\u3044\u5272\u611b\u3002 GIT\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u6975\u3081\u3066\u7c21\u55ae\u3002 debian\u7cfb\u306f\u306a\u3093\u305b\u6700\u521d\u304b\u3089\u5165\u3063\u3066\u3044\u308b\u306e\u3060\u304b\u3089\u3002 raspibian\u306f\u3069\u3046\u3060\u3063\u305f\u304b\u306a\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-173","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/posts\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=173"}],"version-history":[{"count":4,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions"}],"predecessor-version":[{"id":178,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions\/178"}],"wp:attachment":[{"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iwako.pgw.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}