{"id":26366,"date":"2015-01-03T19:25:05","date_gmt":"2015-01-03T10:25:05","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=26366"},"modified":"2015-01-03T19:25:05","modified_gmt":"2015-01-03T10:25:05","slug":"hub-2","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/hub-2\/","title":{"rendered":"hub 2 - Go\u3067\u66f8\u304d\u76f4\u3055\u308c\u3001\u9ad8\u901f\uff06\u30dd\u30fc\u30bf\u30d6\u30eb\u5316\u3057\u305fGitHub\u516c\u5f0f\u30c4\u30fc\u30eb"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/01\/Icommand.png\" alt=\"Command\" title=\"command.png\" border=\"0\" width=\"546\" height=\"472\" \/><\/p>\n<p>GitHub\u3092\u4fbf\u5229\u306b\u4f7f\u3046\u305f\u3081\u306e\u516c\u5f0f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u300c<a href=\"https:\/\/github.com\/github\/hub\">hub<\/a>\u300d\u3002\u5358\u4f53\u30b3\u30de\u30f3\u30c9\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3060\u3051\u3067\u306a\u304f\u3001git\u306b\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u8ffd\u52a0\u3057\u3066\u5229\u7528\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3001\u611b\u7528\u3057\u3066\u3044\u308b\u65b9\u3082\u591a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u306e\u300chub\u300d\u306e\u6700\u65b0\u7248\u300c<a href=\"https:\/\/github.com\/github\/hub\">2.2.0-rc1<\/a>\u300d\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u307e\u3059(<a href=\"https:\/\/news.ycombinator.com\/item?id=8828305\">Hacker News<\/a>)\u3002\u305f\u3060\u5358\u306b\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u304c\u4e0a\u304c\u3063\u305f\u3060\u3051\u3067\u306f\u306a\u304f\u3001Go\u3067\u66f8\u304d\u76f4\u3055\u308c\u9ad8\u901f\u5316\uff06\u30dd\u30fc\u30bf\u30d6\u30eb\u5316\u3092\u9054\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30d0\u30fc\u30b8\u30e7\u30f31.x\u306fRuby\u30b9\u30af\u30ea\u30d7\u30c8\u3060\u3063\u305f\u306e\u3067\u3001\u5b9f\u884c\u3059\u308b\u305f\u3081\u306bRuby\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u304c\u5fc5\u8981\u3067\u3057\u305f\u304c\u3001\u30d0\u30fc\u30b8\u30e7\u30f32.x\u304b\u3089\u5358\u306b\u30d0\u30a4\u30ca\u30ea\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30d1\u30b9\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3060\u3051\u3067\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u7c21\u5358\u306a\u4f7f\u7528\u65b9\u6cd5<\/h3>\n<p>Mac\u306e\u5834\u5408brew\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001<a href=\"https:\/\/github.com\/github\/hub\/releases\">\u30b3\u30f3\u30d1\u30a4\u30eb\u6e08\u307f\u30d0\u30a4\u30ca\u30ea<\/a>\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u300chub\u300d\u3092\u30d1\u30b9\u304c\u901a\u3063\u305f\u30d5\u30a9\u30eb\u30c0(\u4f8b\u3048\u3070\/usr\/local\/bin)\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3060\u3051\u3067\u3082OK\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2015\/01\/Ihub_2.2.0-rc1_mac_amd64.png\" alt=\"Hub 2 2 0 rc1 mac amd64\" title=\"hub_2.2.0-rc1_mac_amd64.png\" border=\"0\" width=\"546\" height=\"288\" \/><\/p>\n<p>\u6b21\u306b.bash_profile\u3084.zshrc\u306a\u3069\u306b\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre>\neval \"$(hub alias -s)\"\n<\/pre>\n<p>\u3053\u308c\u3067GitHub\u95a2\u9023\u306egit\u30b3\u30de\u30f3\u30c9\u3092\u7c21\u5358\u5316\u3057\u3066\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u300cgit clone\u300d\u304c\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30ea\u30dd\u30b8\u30c8\u30ea\u540d\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>\n$ git clone schacon\/ticgit\n> git clone git:\/\/github.com\/schacon\/ticgit.git # \u3053\u308c\u3068\u540c\u3058\u610f\u5473\u3002\n<\/pre>\n<p>\u305d\u306e\u4ed6\u3001GitHub\u306eWeb\u30da\u30fc\u30b8\u3092\u30d6\u30e9\u30a6\u30ba\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u300cgit browse\u300d\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>\n$ git browse\n> open https:\/\/github.com\/YOUR_USER\/CURRENT_REP #\u3053\u308c\u3068\u540c\u3058\u610f\u5473\n<\/pre>\n<p>\u4ed6\u306b\u3082\u305f\u304f\u3055\u3093\u306e\u6a5f\u80fd\u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u8a73\u7d30\u306f\u516c\u5f0f\u30b5\u30a4\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u307e\u3068\u3081<\/h3>\n<p>\u6628\u5e74\u304b\u3089\u30d0\u30a4\u30ca\u30ea\u306e\u914d\u5e03\u304c\u5bb9\u6613\u306aGo\u3092\u4f7f\u3063\u3066\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u6d41\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u901a\u5e38\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3088\u308a\u3082\u9ad8\u901f\u306b\u52d5\u4f5c\u3059\u308b\u70b9\u3082\u9b45\u529b\u306e\u4e00\u3064\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u4eca\u56de\u306ehub\u306eGo\u5316\u3082\u305d\u306e\u6d41\u308c\u3068\u3057\u3066\u6349\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u305d\u3046\u3067\u3059\u30022015\u5e74\u306fGo\u8a00\u8a9e\u306b\u3055\u3089\u306b\u6ce8\u76ee\u304c\u96c6\u307e\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitHub\u3092\u4fbf\u5229\u306b\u4f7f\u3046\u305f\u3081\u306e\u516c\u5f0f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u300chub\u300d\u3002\u5358\u4f53\u30b3\u30de\u30f3\u30c9\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3060\u3051\u3067\u306a\u304f\u3001git\u306b\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u8ffd\u52a0\u3057\u3066\u5229\u7528\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3001\u611b\u7528\u3057\u3066\u3044\u308b\u65b9\u3082\u591a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002 \u3053\u306e\u300chub\u300d\u306e\u6700\u65b0 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":26364,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[573,711,1048],"class_list":["post-26366","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-github","tag-go","tag-hub"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/26366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=26366"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/26366\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/26364"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=26366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=26366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=26366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}