{"id":147,"date":"2011-05-11T18:50:13","date_gmt":"2011-05-11T09:50:13","guid":{"rendered":"http:\/\/redwing.moo.jp\/cocoa\/?p=147"},"modified":"2015-08-30T23:33:21","modified_gmt":"2015-08-30T14:33:21","slug":"%e3%83%ad%e3%83%aa%e3%83%9d%e3%83%83%e3%83%97%e3%81%aegit%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%81%b8xcode4%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e9%96%a2%e9%80%a3%e3%81%ae","status":"publish","type":"post","link":"https:\/\/redwing.moo.jp\/cocoa\/archives\/147","title":{"rendered":"\u30ed\u30ea\u30dd\u30c3\u30d7\u306egit\u30ea\u30dd\u30b8\u30c8\u30ea\u3078xcode4\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u95a2\u9023\u306e\u30d5\u30a1\u30a4\u30eb\u3092push\u3059\u308b"},"content":{"rendered":"<p>git\u3092\u521d\u3081\u3066\u5229\u7528\u3059\u308b\u5834\u5408\u3001\u77e5\u3063\u3066\u304a\u3044\u305f\u65b9\u304c\u3088\u3044\u4e8b\u67c4\u3092\u4ee5\u4e0b\u306b\u8a18\u3059\u3002<br \/>\n<strong>\u30fb\u5206\u6563\u30ea\u30dd\u30b8\u30c8\u30ea<\/strong><br \/>\n\u30ed\u30fc\u30ab\u30eb\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u30b5\u30fc\u30d0\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u66f4\u65b0\u51e6\u7406\u304c\u884c\u3048\u308b<br \/>\n\u30ed\u30fc\u30ab\u30eb\u3067\u306e\u5909\u66f4\u70b9\u3092\u30b3\u30df\u30c3\u30c8\u3059\u308b\u306b\u306f\u3001commit \u3092\u4f7f\u7528\u3059\u308b<br \/>\n\u30b5\u30fc\u30d0\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u9023\u643a\u3092\u884c\u3046\u969b\u306f\u3001push \/ pull \u3092\u4f7f\u7528\u3059\u308b<br \/>\n\u30b5\u30fc\u30d0\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u8907\u88fd\u3059\u308b\u306b\u306f\u3001clone \u3092\u4f7f\u7528\u3059\u308b<\/p>\n<p><a href=\"http:\/\/d.hatena.ne.jp\/Seasons\/20081220\/1229750384\" target=\"_blank\">\u5206\u6563\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u7406\u89e3\u3059\u308b\u4e0a\u3067\u53c2\u8003\u306b\u306a\u308b\u69cb\u6210\u56f3<\/a><br \/>\n<a href=\"http:\/\/sourceforge.jp\/magazine\/09\/03\/16\/0831212\" target=\"_blank\">\u30b3\u30de\u30f3\u30c9\u8a73\u7d30<\/a><\/p>\n<p><strong>1. xcode4\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/strong><br \/>\n\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u65b0\u898f\u4f5c\u6210\u6642\u306b\u306f\u3001<br \/>\nSource Control: Create local git repository for this project<br \/>\n\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b<\/p>\n<pre>\r\n\u958b\u767a\u95a2\u9023\u306e\u30d5\u30a1\u30a4\u30eb\u3092 git \u3067\u7ba1\u7406\u3057\u3066\u3044\u306a\u3044\u5834\u5408\uff0c\u4ee5\u4e0b\u306e\u624b\u9806\u3067 git \u7ba1\u7406\u3057\u3066\u304a\u304f\uff0e\r\n$ cd (\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c8\u30c3\u30d7\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff09\r\n$ git init\r\n$ git add .\r\n$ git commit -m \"\u30b3\u30df\u30c3\u30c8 \u30b3\u30e1\u30f3\u30c8\"\r\n<\/pre>\n<p><strong>2. \u30b5\u30fc\u30d0\u306bgit\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b<\/strong><br \/>\n<strong>&#8220;git&#8221;\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210<\/strong>\u3057\u3001git \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3002<br \/>\ngit init &#8211;bare &#8211;shared<\/p>\n<p><strong>3. \u30b5\u30fc\u30d0\u3078push\u3059\u308b<\/strong><br \/>\n\u958b\u767a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\uff0c<\/p>\n<p>git push ssh:\/\/\uff08\u30e6\u30fc\u30b6\u540d\uff09@ssh030.lolipop.jp:2222\/home\/users\/1\/\uff08\u30e6\u30fc\u30b6\u540d\uff09\/<strong>git<\/strong> master<\/p>\n<p>\u203b \u30d1\u30b9\u306f\uff0c\u9069\u5b9c\u6307\u5b9a\u3059\u308b\uff0e<\/p>\n<p><strong>4. \u30b5\u30fc\u30d0\u304b\u3089clone\u3059\u308b<\/strong><br \/>\n\u3044\u3063\u305f\u3093\uff0c\u958b\u767a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u30ea\u30cd\u30fc\u30e0\u306a\u3069\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u305f\u5f8c\uff0c<\/p>\n<p>git clone ssh:\/\/\uff08\u30e6\u30fc\u30b6\u540d\uff09@ssh030.lolipop.jp:2222\/home\/users\/1\/\uff08\u30e6\u30fc\u30b6\u540d\uff09\/<strong>git<\/strong><\/p>\n<p><strong>5. \u305d\u306e\u4ed6<\/strong><br \/>\n\u30b5\u30fc\u30d0 \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5909\u66f4\u70b9\u3092\u30ed\u30fc\u30ab\u30eb \u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u53d6\u308a\u8fbc\u3080<br \/>\n$ git pull<\/p>\n<p><strong>\u30fbpush \u5931\u6557\u3059\u308b\u5834\u5408\u306f\u3001\u30b3\u30df\u30c3\u30c8\u3057\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3053\u3068<\/strong><br \/>\n$ git commit<br \/>\n\u3082\u3057\u304f\u306f\u3001<br \/>\n$ git commit -m &#8220;\uff08\u30b3\u30e1\u30f3\u30c8\uff09&#8221;<\/p>\n<a href=\"https:\/\/twitter.com\/redwing1300?ref_src=twsrc%5Etfw\" class=\"twitter-follow-button\" data-size=\"large\" data-show-count=\"false\">Follow @redwing1300<\/a><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content --><div id=\"redwi-1147873248\" class=\"redwi- redwi-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-9652476346722993\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-9652476346722993\" \ndata-ad-slot=\"\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>git\u3092\u521d\u3081\u3066\u5229\u7528\u3059\u308b\u5834\u5408\u3001\u77e5\u3063\u3066\u304a\u3044\u305f\u65b9\u304c\u3088\u3044\u4e8b\u67c4\u3092\u4ee5\u4e0b\u306b\u8a18\u3059\u3002 \u30fb\u5206\u6563\u30ea\u30dd\u30b8\u30c8\u30ea \u30ed\u30fc\u30ab\u30eb\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u30b5\u30fc\u30d0\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u66f4\u65b0\u51e6\u7406\u304c\u884c\u3048\u308b \u30ed\u30fc\u30ab\u30eb\u3067\u306e\u5909\u66f4\u70b9\u3092\u30b3\u30df\u30c3\u30c8\u3059\u308b\u306b\u306f\u3001commit \u3092\u4f7f\u7528\u3059\u308b \u30b5\u30fc\u30d0\u306e\u30ea &hellip; <a href=\"https:\/\/redwing.moo.jp\/cocoa\/archives\/147\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-147","post","type-post","status-publish","format-standard","hentry","category-unix_osx"],"_links":{"self":[{"href":"https:\/\/redwing.moo.jp\/cocoa\/wp-json\/wp\/v2\/posts\/147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/redwing.moo.jp\/cocoa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/redwing.moo.jp\/cocoa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/redwing.moo.jp\/cocoa\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/redwing.moo.jp\/cocoa\/wp-json\/wp\/v2\/comments?post=147"}],"version-history":[{"count":24,"href":"https:\/\/redwing.moo.jp\/cocoa\/wp-json\/wp\/v2\/posts\/147\/revisions"}],"predecessor-version":[{"id":2328,"href":"https:\/\/redwing.moo.jp\/cocoa\/wp-json\/wp\/v2\/posts\/147\/revisions\/2328"}],"wp:attachment":[{"href":"https:\/\/redwing.moo.jp\/cocoa\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/redwing.moo.jp\/cocoa\/wp-json\/wp\/v2\/categories?post=147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/redwing.moo.jp\/cocoa\/wp-json\/wp\/v2\/tags?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}