ã¨ã£ã¦ãåªãã github ã®ä½¿ãæ¹
æè¿ãã³ãã«Rubyã®äººã ã®éã§gitæµè¡ã£ã¦ã¾ããããç§ã¯darcsã£ããªã®ã§ãããããã ãå¨å²ã§æµè¡ãããã¨ãããã«å±æ©æãæãã¾ãããããæè¿ã¯githubããgitouriousããã®ãããã¨ä¾¿å©ãªãµã¤ããåºç¾ããã¾ãã¦RubyForgeã¾ã§ããgitãæ¡ç¨ã¨ã®ãã¨ã§ããããããã¯ãããªãã¨ããã¦ããããã¨ããã§ããã¨ããããã§ãä»æ´ãªããgitãè¦ããå£å®ã¨ãã¦ãã¨ã£ã¦ã便å©ãªgithubã使ã£ã¦ã¿ããã¨ã«ãã¾ããã
ããã§ãã£ããã§ãããgithubã®ä½¿ãæ¹ãã¡ã¢ãã¦ãããã¨æãã¾ãããããèªãã§çãããä¸ç·ã«githubã§éã³ã¾ãããï¼
ããããgithubã¨ã¯ä½ã¢ãï¼
github ã¯gitã¬ãã¸ããªãå ¬éãã¦ããããµã¤ãã§ããåºæ¥ããã¨ã¯å¤§ä½ã®ã¨ãã次ã®ãããªäºã§ãã
- ä½è ã¯ã¬ãã¸ããªãä½æãã¦å ¬éã§ãã¾ã
- ä»ã®äººã¯ã¬ãã¸ããªããã©ã¼ã¯ãã¦åæã«éçºã»å ¬éã§ãã¾ã
- ä½ã£ãããããä½è ã«é©ç¨ãã¦ä¸ãããã¨ãé¡ãã§ãã¾ã
- wiki ã使ãã¾ã
ç¹ã«éè¦ãªã®ã¯ãã®äºçªç®ãã¤ã¾ãgithubã®ã¬ãã¸ããªã使ã£ã¦éçºããã¦ããã½ããã¦ã§ã¢ã«ããããéãããå ´åãgithubã使ã£ã¦ãã©ã¼ã¯ãã¡ããã®ãã¨ã£ã¦ãåããæãæ¹æ³ã¨ãªãã¾ããããã ã¨ä»ã®äººãä½ããã£ã¦ããã®ããããã«åãã£ã¦ã¨ã£ã¦ãè¯ãã§ãããããããããã§ããã¨ãèªåèªèº«ã§ã½ããã¦ã§ã¢ãä½ã£ã¦ãã人ã§ãªãã¨ããgithubã®ã¢ã«ã¦ã³ããä½ã£ã¦ãããæ¹ãè¯ãã ããæããã¾ãã
ãªããç¾å¨ã¯ãã¼ã¿çã§ãããç¡æãã¤ç¡å¶éã«ä½¿ç¨ã§ãã¾ããå°æ¥ææçãç»å ´ããäºå®ã ããã§ããããªã¼ãã³ã½ã¼ã¹ãªããã¸ã§ã¯ãã¯ææçãç»å ´ãã¦ãç¡å¶éã«å©ç¨ã§ãããããªã®ã§ããããã£ãç¹ã§ã®å¿é ã¯ãªããã®ã¨æãã¾ããå®å¿ãã¦ãã³ãã³ä½¿ã£ã¦å¤§ä¸å¤«ã§ã¯ãªãã§ããããã
ã¢ã«ã¦ã³ãã®ä½æ
ç¾å¨ã®ã¨ããgithubã¯ãã¼ã¿çã§ãã®ã§ã¢ã«ã¦ã³ãç³è«ããã¦ãããã«ã¢ã«ã¦ã³ãããããä¿è¨¼ã¯ããã¾ãããããããã¼ã¸ã®ä¸ã®æ¹ã«"sign up for the github beta"ã¨ããã¾ãã®ã§ãããã«ã¡ã¼ã«ã¢ãã¬ã¹ãå ¥åãã¦ãã°ããå¾ ã¡ã¾ãããããã ãç§ã®å ´åã¯ã»ã¨ãã©å³åº§ã«ã¢ã«ã¦ã³ããä½æããã¾ããã
ãªããæ¢ã«ã¢ã«ã¦ã³ããæã£ã¦ãã人ã¯ãä»ã®äººã«ç´¹ä»ç¶ãéããã¨ãåºæ¥ã¾ããããã ã¨å³åº§ã«ã¢ã«ã¦ã³ããä½æã§ããã¨æãã¾ãããªã®ã§å¾ ã¡åããªã人ã¯èª°ãã¢ã«ã¦ã³ããæã£ã¦ãã人ã«é ¼ãã§ã¿ã¦ä¸ãããç§ãä¸éåæå¾ ç¶ãéãã¾ãã
ã¨ããã§ã¢ã«ã¦ã³ããä½æããããã«ã¯ ssh ã®å ¬ééµãå¿ è¦ã«ãªãã¾ããã»ã¨ãã©ã®æ¹ã¯æ¢ã«ãæã¡ãã¨æãã¾ãããããæã£ã¦ããªãæ¹ã¯ä½æãã¦ããã¦ä¸ããã
ã¡ãªã¿ã«ç§ã®ãããã£ã¼ã«ãã¼ã¸ã¯æ¬¡ã®ãã®ã«ãªãã¾ãã
ã¬ãã¸ããªã®æ°è¦ä½æï¼ãã©ã¼ã¯ãããªããï¼ï¼
ã¢ã«ã¦ã³ããä½æããããããã·ã¥ãã¼ãã表示ãããã¨æãã¾ããæåã¯ã»ã¨ãã©ä½ã表示ããã¦ããªãã®ã§å¯ããæããããç¥ãã¾ãããã§ã¯æ©éã¬ãã¸ããªãä½æãã¦ã¿ã¾ãããããã ãããããç´¹ä»ããã®ã¯ããã©ã¼ã¯ãããªãã£ã¦ãããã¾ã§ãèªåãä½è ã®å ´åã®ãã®ã§ããgithubã®ä»ã®ã¬ãã¸ããªãããã©ã¼ã¯ãããå ´åã®ããæ¹ã¯å¾ã§ç´¹ä»è´ãã¾ãã
ããã·ã¥ãã¼ãã®å³å´ã«ãYour Repositories (create a new one)ãã¨ããã®ãè¦ãããã¨æãã¾ããã¾ãã¯ãã®æ¬å¼§å ã®"create a new one"ãã¯ãªãã¯ãã¦ã¿ã¦ä¸ãããããã¨ãããã¸ã§ã¯ãã®ååãç°¡åãªèª¬æããã¼ã ãã¼ã¸ã®URLã®ä¸ç¹ãèããã¾ããã¾ãæå¾ã«ããã¸ã§ã¯ãããããªãã¯ã«ããããã©ã¤ãã¼ãã«ããããèããã¾ããç¾å¨ãã¼ã¿çã§ãã¾ãå°æ¥çã«ã¯ææçãç»å ´ãããã¨ãèããã°ãããã¯ãããªãã¯ã«ãã¦ãããæ¹ãç¡é£ã§ãã
ãªããgithubã¯Rubyã®ããã¸ã§ã¯ããå¤ãç»é²ããã¦ãã¾ãããã ããã¨è¨ã£ã¦Rubyã®ããã¸ã§ã¯ãããç»é²ããã¦ããªãããã§ã¯ãªããã¨ã«æ³¨æããªããã°ãªãã¾ãããä¾ãã° RubyForge ã«ç»é²ãã¦ããããã¸ã§ã¯ãã®ã¬ãã¸ããªã github ã«ç§»è¡ãããããã¨èãã¦ããå ´åã«ã¯ãããã¸ã§ã¯ãåã«ã¯ã¡ãã£ã¨æ°ãã¤ãã¦ãããæ¹ãè¯ãããç¥ãã¾ãããrubyã®ã©ã¤ãã©ãªã§ããã° ruby-* ã¿ãããªæãã«æ¥é è¾rubyãä»ãããªããã¦å·¥å¤«ããã¦ãããæ¹ãè¯ãå ´åããããã¨æãã¾ãã
ãã¦ãç¨æãåºæ¥ãã submit ãã¿ã³ãæ¼ãã¦ä¸ããï¼ããã§ã¬ãã¸ããªãä½æããã¾ããã¨ã£ã¦ãç°¡åã§ããã次ã«ããäºã¯ã¬ãã¸ããªã«ãã¡ã¤ã«ãªã©ã追å ãããã¨ã§ãããã©ããªãã¨ããããè¯ããã¯è¦ªåãªãã¨ã«ã¨ã£ã¦ã詳ãã解説ã表示ããã¦ããã¨æãã¾ããruby-kizapiã®ã¬ãã¸ããªãä½æããéã«è¡¨ç¤ºããã¦ã解説ã以ä¸ã«ã³ãã¼ãã¦ããã¾ãã
Next steps:
mkdir ruby-kizapi
cd ruby-kizapi
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin git@github.com:keita/ruby-kizapi.git
git push origin masterExisting Git Repo?
cd existing_git_repo
git remote add origin git@github.com:keita/ruby-kizapi.git
git push origin masterWhen you're done:
Continue
ã¨ã£ã¦ã親åã§ãããã¾ãã¯å¤§ä½ãã®æé ã«å¾ã£ã¦ã¬ãã¸ããªã«ä½ããã³ããããã¦ã¿ã¦ä¸ããã
ããç§ã®ãããªgitåå¿è ã®æ¹ã¯ãã¾ãæåã«
$ git config --global user.name "Keita Yamaguchi" $ git config --global user.email [email protected]
ã®ããã«ååã¨ã¡ã¼ã«ã¢ãã¬ã¹ãè¨å®ãã¦ããã¦ä¸ããããããå¿ããã¨ãã·ã³åã¨ããã³ããããã°ã«æ®ã£ã¦æ¥ããããæãã«ãªãã¾ãã
ããã¦ä¸çªå¤§äºãªã®ããã³ããããããªããã¦ç¨æãåºæ¥ãããä¸çªä¸ã®"Continue"ãã¯ãªãã¯ããäºã§ããè¦è½ã¨ãã¡ããããã«ãªãã®ã§ãã注æä¸ããï¼Continueãæ¼ãã¦å®äºã§ããä½æããããã¸ã§ã¯ãã®ä¾ã¨ã㦠TimeoutX ã®ããã¸ã§ã¯ããã¼ã¸ãã覧ä¸ããã
wikiã®ç·¨éã«é¢ãã注æ
githubã¯ããã¸ã§ã¯ãæ¯ã«wikiãå©ç¨ã§ãã¾ããããã¯ã¨ã£ã¦ãæ軽ã§è¯ãã§ããï¼
ã§ãããã注æä¸ãããç§ã¯æ¥æ¬èªã®wikiåãæã¤ãã¼ã¸ãä½æãããã¨ãã¦ããªãã¨wikiå ¨ä½ãç ´å£ãã¦ãã¾ãã¾ããããããã§homeããè¦ãã¾ããã
http://github.com/keita/timeoutx/wikis
ãããç´ãã¦ãããã®ã ããã¨ã¯æãã¾ãããç¾å¨ã¯æ¥æ¬èªã®æ±ãã«ã¡ãã£ã¨æ éã«ãªã£ãæ¹ãè¯ããã¨æããã¾ãã
ãã¨ãããã¸ã§ã¯ãåã«é¢ãã注æã¨åæ§ã§ããããã¯ãgithubã¯Rubyã ãã®ãã®ã§ã¯ãªãã®ã§wikiã®ããã¥ã¡ã³ãã«é¢ãã¦ãRubyForgeãã移è¡ããæ¹ã¯ãããã¯Rubyã®ã©ã¤ãã©ãªã§ããçãªãã¨ãæ¸ãã¦ããã¦æ¹ãè¯ãã®ã§ã¯ãªããã¨æãã¾ãã
ãã©ã¼ã¯
ããã¸ã§ã¯ãã«è²¢ç®ããã人ã¯ã¬ãã¸ããªããã©ã¼ã¯ãã¦ããã§ããããä½æãã¡ããã¾ãããããã©ã¼ã¯ã¯ã¨ã£ã¦ãç°¡åã§ããããã¸ã§ã¯ããã¼ã¸ã®ãã©ã¼ã¯ãã¿ã³ãæ¼ãã ãã§ãã£ã¨è¨ãéã«å®äºã§ãããã©ã¼ã¯ããããã¸ã§ã¯ãã¯å ã®ãã®ã¨ããããã¯ã¼ã¯ãã§ç¹ããã¾ãããå®å ¨ã«ç¬ç«ããã¬ãã¸ããªã¨ãªãã¾ãã®ã§èªåã®å¥½ããªããã«ããã£ã¦æ§ãã¾ãããã¾ãwikiãç¬èªã®ãã®ã«ãªãã¾ãã
ãã©ã¼ã¯ã®ãã¹ããããã人ã¯ç§ã®ããã¸ã§ã¯ããé©å½ã«ãã©ã¼ã¯ãã¦å®é¨ãã¦ã¿ã¦ä¸ããããã©ã¼ã¯ãããã®ã¯ç°¡åã«æ¶ããã¨ãåºæ¥ã¾ãã®ã§ãæ°è»½ã«ã©ããã