GitHub ã®ããã㧠ãã©ã¤ãã¼ãã§ã¯ Git ä¸è²ã®ä»æ¥ãã®é ããããã ä»äºã§ã Git ã使ã£ã¦ã¿ããã¨ã«... åæ£åãªãã¸ããªã使ã£ãéçºã®ãªãºã ã¯é常ã«å¿å°ãã ä¸åº¦å³ãã£ã¦ãã¾ã㨠ãã äºåº¦ã¨éä¸åãªãã¸ããªã使ã£ãéçºã«ã¯æ»ããªã... ã¨ãããã¨ã§... ä»äºã§ã Git ã使ãããã¨æãã®ã¯è³ã£ã¦èªç¶ãªæµãã§ã¯ããã¾ããã è²ã ã¨å¤§äººã®äºæ ããã£ã¦ ãªãã¸ããªèªä½ã SVN ãã Git ã¸ç§»è¡ããã®ã¯ãããªã«ç°¡åãªè©±ã§ã¯ããã¾ããã ã¨è¨ã訳㧠git-svn ã§ããã git-svn ã使ãã°ãä»ã¾ã§éã SVN ã使ã£ã¦ããã¸ã§ã¯ããå ±æãã¤ã¤ããã¼ã«ã«ã®éçºç°å¢ã§ã¯ ãã£ãã Git ã使ãã¦ãã¾ãã®ã§ãã èªåã ã åæ£ãªãã¸ããªã使ã£ã¦ããæãã§éçºãè¡ãããã¹ã¦ã®æºåãæ´ã£ããéä¸ãªãã¸ããªã« push ãã¦ãä»ã®éçºè ã«å ¬éãããªãã¦ãã¨ãã§ãã¾ã
æ®éãªã¢ã¼ããã©ã³ãã£ã¦ã $ git branch -r origin/master origin/br_1 upstream/master upstream/br_1 ãããã風ã«è¡¨ç¤ºããã¦æ¬²ãããããªãã§ããã "ãªã¢ã¼ãå/ãã©ã³ãå"ã¨ãªã£ã¦æ¬²ããã®ã§ãã git svn cloneããã¨ãã«--prefixãä»ãå¿ããã¨ãã®å¯¾å¦æ³ ã¬ãã¸ããªã巨大ããã¦(æ°ä¸ã³ããããã)ãcloneããããªãããããªãã ããã§ã.gitã®ä¸èº«ãç´æ¥ããã£ãããã¾ãããã¾ããã (ãã ãããã¯ããã¥ã¡ã³ãã«ã¯æ¸ãã¦ãªãéå ¬å¼ãã¤å¼·å¼ãªããæ¹ãªã®ã§ãä½æ¥ããã¨ãã¯åå注æãã¦è¡ã£ã¦ãã ããï¼ èª¿æ» .git ã®ä¸ã«å ¥ã£ã¦ã"trunk"ã¨ããååã®ãã£ã¬ã¯ããªã»ãã¡ã¤ã«ãæ¢ãã¾ãã $ cd .git $ find . -name 'trunk' ./refs/remotes/trunk (
ãã¤ãã®äºã§ãããã¿ã¤ãã«ã¯é£ãã ç¾å¨ã®ããã¸ã§ã¯ãã«ã¢ãµã¤ã³ããã¦ãããVCSãsvnã«éæ»ããã¦ãã¾ã£ãã®ã§ãããã5ã¶æè¿ãgit-svnã使ç¨ãã¦ã¾ããåãã®é ã«2~3åç¨checkoutããªããã¬ãã«ã®å¤±æããã£ãããã¾ããããããã®æã¯ããã»ã©åé¡ç¡ãéç¨ãã¦ã¾ãã gitã¨svnã§ããæ ¹æ¬ã®ä»çµã¿ããå ¨ç¶éããã§ãããç¨åº¦ãããããªãã®ã§ãããã¡ãã£ã¨ã°ããæ°ãã¤ããªãã¨ãããå¯è½æ§ãããã®ã§ããã®ç¹ã«ã¤ãã¦èªãã¾ãã svnãremoteã«ãªã£ã¦ããã©ã³ã㯠絶対 ã«ç´æ¥ã³ããããªã©ããªã èªåã®ä¸ã§ã¯ãããéåã«ãªã£ã¦ã¾ããä¾ãã°æ®éã®svnã®æ§æã ã¨ãtrunkãgitã®masterãã©ã³ãã«ãªãã¾ãããä½ãã®ä¿®æ£ããã£ã¦æã«ã¯ã©ãã ã軽ãä¿®æ£ã¨ãã§ã絶対ã«ãããã¯ãã©ã³ããä½ã£ã¦ã¾ãã ååã¨ãã¦ãmasterãã©ã³ã(ããä»ã®svnã§ä½ã£ã¦ãããã©ã³ã)ã«ã¯ãgi
ä»äºã§ã¯Subversionï¼ä»¥ä¸ãsvnï¼ã使ã£ã¦ããã®ã ãããããgitã«ç½®ãæãããã ã¨ã¯ããããããªãå ¨ä½ãgitã«ç§»è¡ããã®ã¯ãããããªã®ã§ã以ä¸ã®ãããªããã»ã¹ãè¸ããã¨æãã (1) èªåã®ç°å¢ã ãgitã使ããããã«ããï¼ä¸å¤®ãªãã¸ããªã¯svnï¼ (2) ä»ã®ã¡ã³ãã¼ï¼æ°åè¦æ¨¡ï¼ãgitã使ããããã«ããï¼ä¸å¤®ãªãã¸ããªã¯svnï¼ (3) ä¸å¤®ãªãã¸ããªãsvnããgitã«å¤ãã ãã®ã¨ã³ããªã§ã¯ä¸è¨(1)ã®çµç·¯ãæ¸ãã¨ãã¦ããã ç¾ç¶ ã»ä»¥ä¸ã®ããã«ä¸å¤®ã«svnãªãã¸ããªãåå¨ãã¦ãã¦ãå人ããããããã§ãã¯ã¢ã¦ããã¦ãã ã»å人ã¯ãã§ãã¯ã¢ã¦ããããsvnä½æ¥ã³ãã¼ããããä½æ¥ç¨ãã£ã¬ã¯ããªãã«ã³ãã¼ãã¦ããï¼cpãrsyncã§ï¼ ã»å人ã®ãä½æ¥ç¨ãã£ã¬ã¯ããªãã®htdocsã¯devç°å¢ã¨ãã¦ãã©ã¦ã¶ããé²è¦§å¯è½ ã»å人ã®ãsvnä½æ¥ã³ãã¼ãã¨ãä½æ¥ç¨ãã£ã¬ã¯ããªãã¯
åæ£SCMã使ãããï¼ã¨æãä»æ¥ãã®é ã ä»äºã§ã¯SVNï¼Subversionï¼ã使ã£ã¦ããã®ã ããã¡ãã£ã¨ããã試ãç·¨éãããããã«ãã©ã³ããä½ããã¨ã«æµæãããããã©ã³ãã¯æ¬²ããã大ãããªå¤æ´ãã³ãããç¡ãã§è¡ããããªãããã¯ãå°ããã¤ã³ããããã¦é²ãã¦ãããããããããå¤æ´ãå ¨ã¦è¨é²ããã¦ãã¾ãã®ãããã ããªãããã°ãæ®ãã®ã¯è¯ããã¨ãªã®ã ããæ¬å½ã«ä½¿ããã©ããæªç¥æ°ãªå®é¨çããã°ã©ãã³ã°ã®ãã°ã¾ã§æ®ããããªãã使ãã¨æ±ºã¾ã£ã¦ããåãã¦æ®ãããã«ãããã®ã ã ãã¾ããããã¾ã§ä¸ç·ã«ä»äºããã¦ãã人ã ãã俺ã¯ããã¾ã§ããã°ãæ®ã£ã¦å°ããã¨ããªããããï¼ãããªããç¡è¦ããã°ããã ããªãã ãããæ°ã«ãããªããã©ã³ãã§ããªãã§ããã³ãã³ä½ã£ã¦ãã¾ãï¼ãã¨ããã¶ãã¦ãã¦ããããã ãâ¦ããã¿ãªãã¾ãã¦ã¾ããï¼æ¬å½ã¯ä¿ºãæµæãããã®ã ã ããã§ãåæ£SCMã ãããã«ããã¨ãSVKããã¾ã²ã¨ã¤æ°ã«å ¥
Redirecting⦠Click here if you are not redirected.
git svn 使ãæ¹ svn ã®ãã°ãè¦ã svn ãªãã¸ããªã®ãã°ãè¦ãã«ã¯ git svn log ã¨ããã subversion ã®ãªãã¸ããªã git svn ã§è¤è£½ãã git svn clone svn://example.com/svn/repo ã¨ãã㨠subversion ã®ãªãã¸ããªã git ã§æ±ããã¨ãã§ããã æ¨æºã®ã¬ã¤ã¢ã¦ããæ㤠subversion ãªãã¸ããªã®å ´å㯠-s ãªãã·ã§ã³ãã¤ããã git svn clone -s svn://example.com/svn/repo æ¨æºã§ã¯ãªããµããã£ã¬ã¯ããªã® svn ãªãã¸ããªãã¯ãã¼ã³ãã git svn clone ã« -T ã§ãã©ã³ã¯ã-b ã§ãã©ã³ãã-t ã§ã¿ã°ã®ãµããã£ã¬ã¯ããªãæå®ããã git svn clone -T TRUNK -b BRANCHES -t TAGS svn://
subversionãªãã¸ããªã§ãgitã使ããgit-svn Tue Apr 13 21:31:53 -0700 2010 yukiã§ãã 空åã®Gitãã¼ã ãã ãã¶è½ã¡çããæè¿ã¯Gitè¨äºããã¾ãè¦ãããªããªãã¾ããããä»æ¥ã¯ç©ºæ°ãèªã¾ãã«Gitããããgit-svnã«ã¤ãã¦å©ç¨ä¾ãæãã¤ã¤ãç´¹ä»ãããã¨æãã¾ãã ããã£ã¨ç´¹ä»ããã¦ããè¨äºã¯å¤ãã®ã§ãããå®éã«ãã使ã£ã¦ããããªã©ã®ä¾ããã¾ããªãã£ãã®ã§ãä»åå©ç¨ä¾ãå«ãã¦ãç´¹ä»ãã¦ããããã¨æã£ã¦ããã®ã§ããã£ã¨ä¾¿å©ãªä½¿ãæ¹ããããï¼ã¨ããæ¹ã®çªã£è¾¼ã¿ããå¾ ã¡ãã¦ããã¾ãã ã¾ãgit-svnã«ã¤ãã¦ãç´¹ä»ããã¨ããã®åã®éãgitã¨subversionãã¤ãªãå½¹å²ãæãããã®ã§ãsubversionã®ãªãã¸ããªããgitã§cloneãã¦å©ç¨åºæ¥ãã¨ãããã®ã§ãã ã¤ã³ã¹ãã¼ã«ã¯yumä¸çºã§ç°¡åã«å ¥ãã¾ãã # yum inst
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}