ä½ã ããã ã§ãä»æ¥å¯ä¸åå ããã¦ããã ããã»ãã·ã§ã³ã®ã¡ã¢ã
ã¨ãããããããSubversionã¯æ¨ã¦ããã¨æãã¾ãã
è¬æ¼è
- èé ç¥ä¸ æ°
- id:secondlife
- æ ªå¼ä¼ç¤¾ã¯ã¦ãª
- ç¾å¨ã¯ãã¯ã¦ãªããã¯ãã¼ã¯ã®ãªã¼ãããã°ã©ã
- PerlããJava Scriptãã
- 社å
éçºç°å¢æ´å
- éçºç°å¢æ¹å好ã
ã¯ã¦ãª
- ç¾å¨ãå¾æ¥å¡60å(ã¢ã«ãã¤ãå«ã)
- ãã¡ã¨ã³ã¸ãã¢30å
- ã¤ã³ãã©8åãã¢ããªã±ã¼ã·ã§ã³22å
2008å¹´ãã¯ã¦ãªã®éçºã«å¤åãã»ã»ã»
git!
git
- åæ£VCS
- svnã¨æ¯ã¹ã¦åä½ãé«é
- ä½ã³ã¹ããªãã©ã³ãä½æ
- è³¢ããã¼ã¸
- SHA1ã«ãããã¼ã¿ç®¡ç
- ã³ãããã®æ å ±ãªã©ãå ¨ã¦ãSHA1ã§ç®¡çããã
- ãªãã¸ã§ã³1000ãªã©ã®æ¦å¿µã¯ãªã
2008å¹´åé ã®ä¸éã®å¤å
- Railsã®VCSãgitã¸ç§»è¡
- githubã®åºç¾
gitã®ããã¯ã¹ãã
- svnã ã¨ãã³ããããã¦ãªã¢ã¼ãã«å³åº§ã«åæ ã¨ãæã
- gitãªãããã¼ã«ã«ã§ã¡ããã¡ããã³ãããã§ããã®ã§å®å¿
- ãã©ã³ãã®ä½æãä¸ç¬
- ä»äºã§ãgit-svnã使ãããã«
ããã¯ãæ°å¹´å¾ã«ã¯åæ£VCSã主æµãªäºæãã¨ã®ãã¨
ãããã»ã»ã»
- cvs/svnã«æ¯ã¹ã¦æä½ãé£ãã
- ããããã®ã³ãã³ãããã
- åæ£ã®æ¦å¿µã®ç解
- ãªã¢ã¼ãï¼ãã¼ã«ã«ï¼
- ä»ã®äººã«ãªããªã説æãã¥ãããç解ã«æéãããã
- windowsã®GUIã¯ã©ã¤ã¢ã³ãããªã
- ãã¶ã¤ãã¼ã»ãã£ã¬ã¯ã¿ã¼ã«ä½¿ã£ã¦ãããã«ã¯é ·
æ¥åã¸ã®å°å
¥ã¯ãã¾ã ã¾ã å
ããªãã¨ã®ãã¨
gitã¸ã®é
ã¯ã¦ãªãgitã«ç§»è¡ã§ããããã£ã1ã¤ã®æ¹æ³ã
2008/04ã«SVNãªãã¸ããªãå£ããï¼
ãªãã¸ã§ã³35000ãããã®ãªãã¸ããªç ´å£ï¼
ããããããã¼ï¼
- ã¾ããã®ãªãã¸ããªã®ç ´å£
- ãã§ãã¯ã¢ã¦ã/ã³ãããã§ããªã
- ãããã¤ã§ããªã
- capistranoçµç±ã®svn upã§ãããã¤ãã¦ãããã»ã»ã»
- ãã®ã¨ãã¯ssh+rsyncã§ãããã¤
- è¶ å¤§å¤
復æ§ã§ããªãã£ãã®ãï¼
- ãªãã¸ããªã®ãµã¼ãã¯RAID1ã§éç¨ãã¦ãã
- çæ¹ã®HDDãç©ççã«å£ãã
- ããçæ¹ã®HDDå ã®svnã®FSFS(ãªãã¸ããªDB)ãä¸é¨å£ãã¦ã
- ç¹å®ãªãã¸ã§ã³ã»ç¹å®ãã¡ã¤ã«ãåãåºããªãã¨ãã£ãç¶æ
- svnadminã使ã£ã¦ã®å¾©æ§ã試ã¿ããç¡ç
ã¡ããã¨ãã³ããã¨ã£ã¦ãå¥ã®ãã£ã¹ã¯ã«ããã¯ã¢ãããã¹ãã§ãï¼ã¨ã®ãã¨
ã©ããããï¼
- gitã§éç¨ã§ãããï¼ãæ¤è¨¼
- svnåæã®ã¯ã¦ãªã®ã·ã¹ãã ã移è¡ã§ãããï¼ãæ¤è¨¼
- ãã£ããã®ãã£ãããªã®ã§ããããããæ©ä¼ã¨æãã
gitã¸ã®ç§»è¡
- ãããã¤
- capistrano2.2ã§git対å¿ããã
- ã¬ã·ããæ¸ãæããã°OK
- svnããã®ç§»è¡
- git-svnã§ããã£ã¬ã¯ããªåä½ã®ã³ã³ãã¼ããå¯è½
- svnãªãã¸ã§ã³ã®æå®ãå¯è½
- å£ãã¦ãããªãã¸ã§ã³ãé£ã°ãã¦ã³ã³ãã¼ãå¯è½
gitããsvnã¸
- git-svnã®å©ç¨ã§ãé©ãã»ã©ç°¡åã«ã§ãã
- capistranoã®ã¬ã·ããä½ãç´ãã
- svnã¨æ¯ã¹ããããã¤é度ã1000%é«éã«
- ã¯ã¦ãªãã¤ã¢ãªã¼ã®ãµã¼ãã¯30å°ç¨ããã®ã§ãããã¯è¯ãã£ã
- æåã®ãã¡ã¯ããããã¤ãééãã¦ãåä¿¡åçã«ãªã£ã¦å®éã«ãµã¼ãã«å ¥ã£ã¦ç¢ºèªãã¦ãããã
æ§æã®å¤æ´
- svnã§ã¯ããã¹ã¦ã1ã¤ã®ãªãã¸ããªã«
- gitã§ã¯ãããã¸ã§ã¯ããã¨ã«ç´°ããä½æ
ã¯ã¦ãªéçºã§ã®ä¸çªã®ã¡ãªãã
- ãã©ã³ãã®ä½æ
- ä½æé度ãä¸ç¬
- ãã£ã¬ã¯ããªå¤æ´ãªãã«ãã©ã³ããåãæ¿ãããã
- ãã¡ã¤ã«ãã¹å¤æ´ããã
- svnã®é ã¯ä½æãé¢åãåãæ¿ããéã
ããã«ã¹ã ã¼ãºã«éçºå¯è½ããéè¦ãã¨ã®ãã¨
ãã©ã³ãã®ä½æããªã·ã¼
- origin/master
- æ¬çªãããã¤ãã¡ã¤ã«ã®ã¿
- å®å ¨ã«ãã¹ããéã£ããã®ã®ã¿å ¥ãã¦ãã
- origin/æ©è½ãã¨ã®ãã©ã³ãå
- æ©è½ãã¨ã«ãã©ã³ããä½æ
- ãã¼ã«ã«ã§ã¯é©å®ãã©ã³ãä½æ
ãã©ã³ãã¨ã³ã¼ãã¬ãã¥ã¼
- é©å®ã³ã¼ãã¬ãã¥ã¼
- ãã©ã³ããåããã¨ã§ç°¡åã«ã³ã¼ãã追ãããããã
- gitã§ã®ã³ã¼ãã¬ãã¥ã¼
- git diff master...branchname
- "..."ã§ãå ±éã®è¦ªããã®å¤æ´ç¹ã表示ã§ãã
- git diff master...branchname
gitã§ã®éçºã®æµã
- git checkout -b example
- ã³ã¼ãæ¸ãã¦é©å®commit
- ãªã¢ã¼ãã«ãã©ã³ãåæ / git-publish-branch
- ãªã¢ã¼ããããã©ã³ãã«åæ / git pull ã git pull -rebase
- git diff master...branchname
- masterã«åæ
- git merge master
- masterãããã¼ã¸ãã³ã³ããªã¯ãã解決
- git checkout master
- git merge example
- exampleããmasterã¸ãã¼ã¸
- ã³ã³ããªã¯ãçºçãé²ã
- git merge master
gitéç¨ã¯ã¹ã ã¼ãºã
- ãã¯ãgitã¯é£ãã
- è¦ããã³ã¹ããsvnã¨æ¯ã¹ã¦é«ã
- ããåµã
- 誤ã£ãæ¹æ³ã§ãªãã¸ããªå¤æ´ã»pushããã¨æ²æ¨
- masterã«mergeããã¨ãã«ã³ã³ããªã¯ãç¥ã
- windowsã¯ã©ã¤ã¢ã³ãããªã
- ãã¶ã¤ãã»ãã£ã¬ã¯ã¿ãVMwareï¼LinuxããSambaçµç±ã§ã»ã»ã»
- TortoiseGitã«æå¾
gitãå©ç¨ãããã¼ã«
- gitããã¯ãã¬ã¼ã ã¯ã¼ã¯
- ããã¸ã§ã¯ãåä½ã§ãªãã¸ããªãä½æãã¦ããã®ã§ãããã¯ã¹ã¯ãªãããå ¨ãªãã¸ããªã«é©ç¨ãããå ´åãªã©ã«ãsymlinkãã¯ã£ããã¨ããç¹å®ã®ãªãã¸ããªã®ã¿ã§ä½¿ããããã«ãããã¨ãã
- ä¾ãã°ãã³ãããæã«ç¤¾å IRCã¸ã®éç¥ãªã©
- branchã¨é£åãããã¼ãã£ã«ãã¡ã¤ã³ä½æ
- ããªããã
- ãã±ãã管ç
gitãµã¼ãéç¨
- èªã¿è¾¼ã¿
- git-daemon
- é«éã«åä½
- git-submoduleã®åç §ããã¡ãã«
- git-daemon
- æ¸ãè¾¼ã¿
- sshd
gitã¦ã¼ã¶ãä½ã£ã¦ããã¼ããã·ã§ã³å¨ãã®åé¡ãé²ã
gitã®ã¦ã¼ã¶ç®¡çã¯ã"~/.ssh/authorized_keys"ã§ç®¡ç
ã¾ã¨ã
- gitå°å
¥ã§ãã¨ã¦ã便å©ã«
- gitã®ãã©ã³ããé«é
- gitã®å°å
¥ã³ã¹ãã¯é«ã
- ãããªã«ãªã¹ã¹ã¡ã¯ããªã
- ãã©ãããåæ£VCSã®æ³¢ã¯ãã¦ãã
- ä»ã®ãã¡ã«ä½¿ã£ã¦ããã®ãå
ããããã¯å¾åæ¦ã
æ°ã¯ã¦ãªããã¯ãã¼ã¯
- ã¦ã¼ã¶æ°ï¼21.6ä¸
- PVæ°ï¼790ä¸PV/æ¥
- ãµã¼ãå°æ°ï¼50å°
- 2008å¹´11æã«ãªãã¥ã¼ã¢ã«
- éçºæéç´9ãæ
- æåã®4ã¶æãããã¯ãid:naoyaããã1人ã§
æ§ã·ã¹ãã ã®åé¡ç¹
- ä¿å®æ§ã»æ¡å¼µæ§
- ãã¹ã¿ããªãã£
- ä»ãµã¼ãã¹ã¨ã®å¯çµå
å®ã¯ãéä¸ããå°ããã¼ãPCãæ´èµ°æ°å³ã§ãããã§ããããªã¼åããæããã¨ã«ã»ã»ã»orz
ãªãããã«ã¹ã¯ã©ããã§ä½ãç´ããã®ããã¨ããè¦ç¹ãããæ§ã·ã¹ãã ã®åé¡ç¹ãæããã©ãããã¦ãã£ãã®ãã解説ããã¦ãã¾ããã
ãã£ã¨ãè³æãã¢ãããããããç´ æµãªæ¹ãã¬ãã¼ããæãã¦ãããã¯ãã
ç¾å¨ã®ãµã¼ãéç¨ç¶æ³ãå°ãèããã®ã¯åç©«ã ã£ãããµã¼ã50å°ã§ã790ä¸PV/æ¥ããã
追è¨
è¬æ¼è ã®id:secondlifeãããè¬æ¼è³æãå ¬éãã¦ãã ãã£ã¦ãã¾ãï¼