{"id":6083,"date":"2011-09-05T01:26:12","date_gmt":"2011-09-04T16:26:12","guid":{"rendered":"http:\/\/fukata.org\/?p=6083"},"modified":"2017-08-11T22:58:49","modified_gmt":"2017-08-11T22:58:49","slug":"migration-github-private-repositories-to-gitrious","status":"publish","type":"post","link":"https:\/\/blog.fukata.org\/archives\/6083\/","title":{"rendered":"github\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092gitorious\u3078\u79fb\u884c"},"content":{"rendered":"

github\u306e\u6709\u6599\u30d7\u30e9\u30f3\u5185\u3067\u6700\u4f4e\u30e9\u30f3\u30af\u306eMicro\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f7f\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u6708\uff17\u30c9\u30eb\u7a0b\u5ea6\u304b\u304b\u308b\u306e\u3068\u3001\u5168\u7136\u958b\u767a\u3082\u9032\u3093\u3067\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u52c9\u5f37\u3082\u517c\u306d\u3066\u500b\u4eba\u7528\u306bgitorious<\/a>\u3068\u3044\u3046github\u306b\u4f3c\u305f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306a\u3082\u306e\u3092\u81ea\u5206\u306e\u30b5\u30fc\u30d0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<\/p>\n

ubuntu\u7528\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30e1\u30e2\u306a\u3069\u304c\u516c\u5f0f\u306b\u63d0\u4f9b\u3055\u308c\u3066\u3044\u305f\u308a\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u74b0\u5883\u304cubuntu 10.04 LTS\u3060\u3063\u305f\u70ba\u304b\u305d\u308c\u3067\u306f\u3046\u307e\u304f\u884c\u304b\u305a\u306b\u7d50\u69cb\u82e6\u52b4\u3057\u307e\u3057\u305f\u3002\u82e6\u52b4\u3057\u305f\u7532\u6590\u3082\u3042\u308a\u3001\u306a\u3093\u3068\u304b\u52d5\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u3001\u73fe\u5728\u306fgithub\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5168\u3066gitorious\u3078\u79fb\u884c\u3057\u307e\u3057\u305f\u3002\u5c11\u4eba\u6570\u3067\u30a2\u30af\u30bb\u30b9\u6570\u3082\u5fae\u3005\u305f\u308b\u3082\u306e\u306a\u306e\u3067\u3001github\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u7f6e\u304f\u3088\u308a\u5feb\u9069\u306a\u3088\u3046\u3067\u3059\u3002\u3082\u3061\u308d\u3093\u5b89\u5168\u6027\u306a\u3069\u306f\u4f4e\u3044\u3067\u3059\u304c\u3002<\/p>\n

\u305d\u308c\u3067\u3082\u3001\u4eca\u307e\u3067\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u6570\u306e\u4e0a\u9650\u306b\u9054\u3057\u3066\u304a\u308a\u3001Small\u306b\u4e0a\u3052\u3088\u3046\u304b\u3069\u3046\u304b\u8ff7\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u306a\u306e\u3067\u3001\u5168\u3066\u79fb\u884c\u51fa\u6765\u3066\u826f\u304b\u3063\u305f\u3067\u3059\u3002\u3053\u308c\u3067\u975e\u516c\u958b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30d0\u30f3\u30d0\u30f3\u958b\u767a\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n

github\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306eorigin\u3092gitorious\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5909\u66f4\u3057\u3066push\u3059\u308b\u307e\u3067\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n

\r\ncd [github repository]\r\ngit checkout master\r\ngit remote set-url origin [gitorious repository url]\r\ngit push origin master\r\n<\/pre>\n

\u30cf\u30de\u3063\u305f\u3068\u3053\u308d<\/h3>\n

gitorious\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u306fruby\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u4f9d\u5b58\u306b\u8272\u3005\u82e6\u52b4\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u7d42\u308f\u3063\u3066\u304b\u3089\u3082ssh key\u306e\u767b\u9332\u304c\u3046\u307e\u304f\u884c\u304b\u305a\u3001\u624b\u52d5\u3067authorized_keys\u306b\u8ffd\u52a0\u3057\u3066\u3044\u305f\u306e\u304c\u60aa\u304b\u3063\u305f\u3089\u3057\u304f\u3001gitorious\u3067\u306f\u3001gitorious\u304c\u5165\u529b\u3055\u308c\u305f\u516c\u958b\u9375\u3092\u5909\u63db\u3057\u3066autohrized_keys\u306b\u66f8\u304d\u8fbc\u3093\u3060\u5024\u3067\u306a\u3044\u3068\u6b63\u5e38\u306bclone\u51fa\u6765\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u306e\u306b\u4e38\uff11\u65e5\u307b\u3069\u8cbb\u3084\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

github\u306e\u6709\u6599\u30d7\u30e9\u30f3\u5185\u3067\u6700\u4f4e\u30e9\u30f3\u30af\u306eMicro\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f7f\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u6708\uff17\u30c9\u30eb\u7a0b\u5ea6\u304b\u304b\u308b\u306e\u3068\u3001\u5168\u7136\u958b\u767a\u3082\u9032\u3093\u3067\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u52c9\u5f37\u3082\u517c\u306d\u3066\u500b\u4eba\u7528\u306bgitorious\u3068\u3044\u3046github\u306b\u4f3c\u305f … \u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":9223372036854775807,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1980],"tags":[891,892],"_links":{"self":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/posts\/6083"}],"collection":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/comments?post=6083"}],"version-history":[{"count":0,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/posts\/6083\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/media\/9223372036854775807"}],"wp:attachment":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/media?parent=6083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/categories?post=6083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/tags?post=6083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}