bitbucket ã使ã£ã¦ã¿ã
Bitbucket ã git ã«å¯¾å¿ããã¨èãã¦ãæ©éãªãã¸ããªãç»é²ãã¦ã¿ããã¼ã
ä»ã¯ããæãã®ããã¸ã§ã¯ãç¡ããã ãã©ããä½ãããã® libaltair ã®ãªãã¸ããªãä½ã£ã¦ã¿ããã¼ã
ãã® libaltair 㯠C++ ã§æ¸ããã Smalltalk 風ã®åºæ¬ã¯ã©ã¹ã©ã¤ãã©ãªã ãã¼ã
ãªãã¸ããªã®ä½æ
ã¾ãã¯ã¡ãã¥ã¼ã®ãRepositoriesããããç·ã®ãã©ã¹ã®ã¢ã¤ã³ã³ãç®å°ã®ãcreate repositoryããã¯ãªãã¯ãããã
ããã¨ãä¸ã®ç»é¢ã«ç§»ãã
Repository type ã¯ããã©ã«ãã§ã¯ Mercurial ã«ãªã£ã¦ããããGit æ´¾ã®åã¯å¿ããã« Git ã®ã¨ããã«é»ããã§ã移ãã¦ãããã
Private ã¯ãã®åã®éãããã©ã¤ãã¼ããªãã¸ããªã«ãããã©ããã®ãã§ãã¯ããã¯ã¹ã ãã
Language ã®ã³ã³ãããã¯ã¹ã¯ããªãã¸ããªå
ã®ã½ã¼ã¹ã®ä¸»ãªè¨èªãé¸æãã¨ãã¨ããªããããªãããªã
ã¨ãããã¨ã§ãç§ã¯ãããªé¢¨ã«ãããã
Create repository ãã¿ã³ãæ¼ãã¨ãããªç»é¢ã«ãªããã
ããã§ã¨ãï¼ç©ºã®ãªãã¸ããªãã§ããã
ãã¼ã«ã«ã®ãªãã¸ããªã Bitbucket ã«ããã·ã¥ãã
ãã®ã¾ã¾ã ã¨ããªã¢ã¼ãã®ãªãã¸ããªããã¯ãã¼ã³ãããªãã¸ããªã«ã½ã¼ã¹ãªã©ã追å ããããããããªæãã«ãªã£ã¡ããã®ã§ã
github ã§ãã£ãã¿ããã«ã©ã¼ã«ãã㦠push ããªãã¨ãããªãããã
github ã®ãã«ããè¦ã¦ã¿ããã
Create A Repoã£ã¦ãã¼ã¸ã«ããªã¢ã¼ãããªãã¸ããªã«ç»é²ï¼ãã¦ããã·ã¥ããæ¹æ³ãæ¸ãã¦ããã
$ git remote add origin [email protected]:username/Hello-World.git $ git push origin master
git remote add ã§ããªã¢ã¼ãåï¼ã origin ã§ã[email protected]:username/Hello-World.git ãä½ã¨ãæå®åãªã®ããªã
ãã¤ã㯠github ã«ä¸ãã¦ããã origin ã§ãããã£ããã©ãä»å㯠bitbucket ã«ãã¦ãããã
ä½ã¨ãæå®åã®æ¹ã¯ã[email protected]:noqisofon/libaltair.git ãªã®ããªã
ãã£ã¦ã¿ããã
$ git remote add bitbucket [email protected]:noqisofon/libaltair.git
ä½ãèµ·ãããªãã
æåã ã
ããããpush ãã¦ã¿ããã
å㯠origin ã ã£ããã©ãä»å㯠bitbucket ã«ãã¦ããã:
$ git push bitbucket master
ã ãã ã©ããªååã§ç»é²ãããå¿ããå ´åã¯:
$ git remote
ã§è¦ããã¨ãã§ãããã
ã¨ãããã¨ã§ãã§ããã®ã ãã¡ãã