{"id":1005,"date":"2011-09-23T04:56:00","date_gmt":"2011-09-23T04:56:00","guid":{"rendered":"https:\/\/rawbytes.org\/?p=1005"},"modified":"2025-11-24T02:59:27","modified_gmt":"2025-11-24T02:59:27","slug":"osx%e3%81%a7git%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9%e3%81%ae%e8%a6%81%e7%82%b9%e3%81%a0%e3%81%91%ef%bc%88%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e7%b7%a8%ef%bc%89","status":"publish","type":"post","link":"https:\/\/rawbytes.org\/?p=1005","title":{"rendered":"OSX\u3067git\u306e\u4f7f\u3044\u65b9\u306e\u8981\u70b9\u3060\u3051\uff08\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7de8\uff09"},"content":{"rendered":"<p>Android\u81ea\u4f53\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3082\u305d\u3046\u3060\u3051\u3069\u3001\u6700\u8fd1\u3044\u308d\u3093\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304cSubversion\u304b\u3089\u79fb\u884c\u3057\u3066\u3044\u305f\u308a\u3001github\u3092\u4f7f\u3046\u6a5f\u4f1a\u3082\u306a\u3093\u3060\u304b\u5897\u3048\u3066\u6765\u305f\u306e\u3067git\u306e\u4f7f\u3044\u65b9\u3092\u6574\u7406\u3057\u3066\u307f\u308b\u3002\u5f53\u65b9Subversion\u306f\u307e\u3042\u307e\u3042\u4f7f\u3063\u3066\u3044\u3066\u3001OSX Snow Leopard\u3068\u3044\u3046\u74b0\u5883\u3067\u3059\u3002\u307e\u305a\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u3002<\/p>\n<p><!--more--><\/p>\n<div>\n<ol>\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<br \/>\u3053\u308c\u306f\u30d0\u30a4\u30ca\u30ea\u30d1\u30c3\u30b1\u30fc\u30b8\u304cgoogle code\u306b\u3042\u3063\u305f\u3002\u4ee5\u4e0b\u304b\u3089\u9069\u5207\u306a\u306e\u3092\u9078\u3093\u3067DL\u3059\u308b\u3002\u8ff7\u3063\u305f\u3089Universal\u3092\u9078\u3079\u3070\u826f\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3057\u3089\uff08\u50d5\u306fx86_64\u306e\u3092DL\u3057\u305f\uff09\u3002<br \/>http:\/\/code.google.com\/p\/git-osx-installer\/downloads\/list<\/li>\n<li>\u30de\u30a6\u30f3\u30c8<br \/>\u30a8\u30f3\u30c8\u30ea\u6642\u70b9\u306egit\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f1.7.6.1\u3060\u3063\u305f\u306e\u3067\u3001<span class=\"Apple-style-span\" style=\"background-color: white;font-family: Helvetica,'Hiragino Kaku Gothic Pro',sans-serif\"><span class=\"Apple-style-span\" style=\"max-width: 450px\">git-1.7.6.1-x86_64-snow-leopard.dmg \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u305f\u3002\u3053\u308c\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3067\u30de\u30a6\u30f3\u30c8\u3002<\/span><\/span><\/li>\n<li><span class=\"Apple-style-span\" style=\"font-family: Helvetica,'Hiragino Kaku Gothic Pro',sans-serif\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u8d77\u52d5<br \/>\u30de\u30a6\u30f3\u30c8\u3059\u308b\u3068\u4e2d\u306b.pkg\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u8d77\u52d5\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u306f\u6307\u793a\u306b\u5f93\u3048\u3070\u826f\u3044\u306e\u3067\u5272\u611b\u3057\u307e\u3059\u3002<\/span><\/li>\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86<br \/>git\u30b3\u30de\u30f3\u30c9\u306f\u3001\/usr\/local\/\u914d\u4e0b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u304cPATH\u306e\u66f8\u304d\u63db\u3048\u306f\u3084\u3063\u3066\u304f\u308c\u308b\u307f\u305f\u3044\u306a\u306e\u3067\u3001\u3053\u308c\u3060\u3051\u3067git\u30b3\u30de\u30f3\u30c9\u306f\u4f7f\u3048\u308b\u3002\u305f\u3060\u3057\u30bf\u30fc\u30df\u30ca\u30eb\u4ee5\u5916\u304b\u3089git\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3059\u308b\u3068\u304d\u306b\u306fPATH\u306f\u53c2\u7167\u3055\u308c\u306a\u3044\u307f\u305f\u3044\u306a\u306e\u3067\u3001dmg\u306e\u4e2d\u306b\u5165\u3063\u3066\u3044\u308b&#8221;setup git PATH for non-terminal programs.sh&#8221;\u3068\u3044\u3046\u306e\u3092\u5b9f\u884c\u3059\u308b\u3002\u3053\u308c\u306f\u8a2d\u5b9a\u3057\u306a\u304f\u3066\u3082\u826f\u3044\u3093\u3060\u3051\u3069\u3001\u8a2d\u5b9a\u3057\u3068\u3044\u305f\u307b\u3046\u304c\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3002<br \/>git\u306eGUI\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306fGIT GUI\u3068\u304bgitk\u3068\u304b\u3044\u3046\u306e\u304c\u3042\u308b\u307f\u305f\u3044\u3060\u3051\u3069\u3001\u3044\u3063\u305f\u3093\u5fd8\u308c\u3066\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u8abf\u3079\u308b\u3053\u3068\u306b\u3059\u308b\u3002<\/li>\n<li>\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u3084\u308a\u304b\u305f<br \/>\u4e0a\u8a18\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u540c\u3058\u624b\u9806\u3092\u8e0f\u3081\u3070OK\u3002<\/li>\n<li>\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4e2d\u306buninstall.sh\u304c\u7f6e\u3044\u3066\u3042\u308b\u304b\u3089\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3002<\/li>\n<\/ol>\n<div>\n\u4ee5\u4e0a\u3067\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089git\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u307f\u305f\u3044\u306a\u8868\u793a\u304c\u51fa\u3066\u304f\u308b\u3002\u3053\u308c\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u5b8c\u4e86\u3002<\/div>\n<\/div>\n<div>\n<\/div>\n<div>\n<div>\n$ git<\/div>\n<div>\nusage: git [&#8211;version] [&#8211;exec-path[=&lt;path&gt;]] [&#8211;html-path] [&#8211;man-path] [&#8211;info-path]<\/div>\n<div>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[-p|&#8211;paginate|&#8211;no-pager] [&#8211;no-replace-objects]<\/div>\n<div>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[&#8211;bare] [&#8211;git-dir=&lt;path&gt;] [&#8211;work-tree=&lt;path&gt;]<\/div>\n<div>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[-c name=value] [&#8211;help]<\/div>\n<div>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;command&gt; [&lt;args&gt;]<\/div>\n<div>\n<\/div>\n<div>\nThe most commonly used git commands are:<\/div>\n<div>\n&nbsp; &nbsp;add &nbsp; &nbsp; &nbsp; &nbsp;Add file contents to the index<\/div>\n<div>\n&nbsp; &nbsp;bisect &nbsp; &nbsp; Find by binary search the change that introduced a bug<\/div>\n<div>\n&nbsp; &nbsp;branch &nbsp; &nbsp; List, create, or delete branches<\/div>\n<div>\n&nbsp; &nbsp;checkout &nbsp; Checkout a branch or paths to the working tree<\/div>\n<div>\n&nbsp; &nbsp;clone &nbsp; &nbsp; &nbsp;Clone a repository into a new directory<\/div>\n<div>\n&nbsp; &nbsp;commit &nbsp; &nbsp; Record changes to the repository<\/div>\n<div>\n&nbsp; &nbsp;diff &nbsp; &nbsp; &nbsp; Show changes between commits, commit and working tree, etc<\/div>\n<div>\n&nbsp; &nbsp;fetch &nbsp; &nbsp; &nbsp;Download objects and refs from another repository<\/div>\n<div>\n&nbsp; &nbsp;grep &nbsp; &nbsp; &nbsp; Print lines matching a pattern<\/div>\n<div>\n&nbsp; &nbsp;init &nbsp; &nbsp; &nbsp; Create an empty git repository or reinitialize an existing one<\/div>\n<div>\n&nbsp; &nbsp;log &nbsp; &nbsp; &nbsp; &nbsp;Show commit logs<\/div>\n<div>\n&nbsp; &nbsp;merge &nbsp; &nbsp; &nbsp;Join two or more development histories together<\/div>\n<div>\n&nbsp; &nbsp;mv &nbsp; &nbsp; &nbsp; &nbsp; Move or rename a file, a directory, or a symlink<\/div>\n<div>\n&nbsp; &nbsp;pull &nbsp; &nbsp; &nbsp; Fetch from and merge with another repository or a local branch<\/div>\n<div>\n&nbsp; &nbsp;push &nbsp; &nbsp; &nbsp; Update remote refs along with associated objects<\/div>\n<div>\n&nbsp; &nbsp;rebase &nbsp; &nbsp; Forward-port local commits to the updated upstream head<\/div>\n<div>\n&nbsp; &nbsp;reset &nbsp; &nbsp; &nbsp;Reset current HEAD to the specified state<\/div>\n<div>\n&nbsp; &nbsp;rm &nbsp; &nbsp; &nbsp; &nbsp; Remove files from the working tree and from the index<\/div>\n<div>\n&nbsp; &nbsp;show &nbsp; &nbsp; &nbsp; Show various types of objects<\/div>\n<div>\n&nbsp; &nbsp;status &nbsp; &nbsp; Show the working tree status<\/div>\n<div>\n&nbsp; &nbsp;tag &nbsp; &nbsp; &nbsp; &nbsp;Create, list, delete or verify a tag object signed with GPG<\/div>\n<div>\n<\/div>\n<div>\nSee &#8216;git help &lt;command&gt;&#8217; for more information on a specific command.<\/div>\n<\/div>\n<div>\n<\/div>\n<div>\n\u3068\u308a\u3042\u3048\u305a\u4e0a\u8a18\u306egit\u30b3\u30de\u30f3\u30c9\u3092Subversion\u3068\u306e\u5bfe\u6bd4\u3067\u8abf\u3079\u308b\u3053\u3068\u306b\u306a\u308a\u305d\u3046\u3002<\/p>\n<p>[9\/27\u8ffd\u8a18]<br \/>\nXcode 4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\/usr\/bin\/git\u306b\u81ea\u52d5\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u307f\u305f\u3044\u3002<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Android\u81ea\u4f53\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3082\u305d\u3046\u3060\u3051\u3069\u3001\u6700\u8fd1\u3044\u308d\u3093\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304cSubversion\u304b\u3089\u79fb\u884c\u3057\u3066\u3044\u305f\u308a\u3001github\u3092\u4f7f\u3046\u6a5f\u4f1a\u3082\u306a\u3093\u3060\u304b\u5897\u3048\u3066\u6765\u305f\u306e\u3067git\u306e\u4f7f\u3044\u65b9\u3092\u6574\u7406\u3057\u3066\u307f\u308b\u3002\u5f53\u65b9Subversion\u306f\u307e\u3042\u307e\u3042\u4f7f\u3063\u3066\u3044\u3066\u3001OSX Snow Leopard\u3068\u3044\u3046\u74b0\u5883\u3067\u3059\u3002\u307e\u305a\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,21,30,43],"tags":[],"class_list":["post-1005","post","type-post","status-publish","format-standard","hentry","category-develop","category-howto","category-osx","category-xcode"],"_links":{"self":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1005"}],"version-history":[{"count":1,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1005\/revisions"}],"predecessor-version":[{"id":1006,"href":"https:\/\/rawbytes.org\/index.php?rest_route=\/wp\/v2\/posts\/1005\/revisions\/1006"}],"wp:attachment":[{"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rawbytes.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}