第7å RxTstudy ã®è³æã§ãã http://www.rxtstudy.net/ ã¿ã¤ãã«ã®çç¥ãè£ãã¨ã(ä¸äººã§ä½¿ã)éå ·ã¨ãã¦ã®DVCS(ã¨è¨ããGit)ãã«ãªãæããRead less
[2013-01-07 14:57:22] ãµã¨ï¼ä»æ¥ã¯ã©ãã ãã³ãããããããï¼ããã¾ã§ä¸æ¥å½ããã«ã©ãã ãã³ãããããããï¼ç¥ããããªãã¾ããï¼ å ¨æéã®ã³ãããæ° % git log --date=short --pretty=format:'%cd %an'|uniq -c 11 2013-01-07 peccu 4 2013-01-06 peccu 25 2013-01-05 peccu 6 2012-12-30 peccu 7 2012-12-28 peccu 13 2012-12-27 peccu 3 2012-12-26 peccu 1 2012-12-20 peccu 2 2012-12-19 peccu 4 2012-11-23 peccu 9 2012-11-02 peccu 4 2012-11-01 peccu 7 2012-10-31 peccu 5 2012-1
8. ã³ãããã«å ¥ã£ã¦ãæ å ± ãªãã¸ã§ã³ (SHA-1 ããã·ã¥) ä¾: 23cdd334e6e251336ca7dd34e0f6e3ea08b5d0db Author (ã³ããããä½æãã人) ä¾: ãªã¼ãã³ã½ã¼ã¹ããã¸ã§ã¯ãã«ããããéã£ã人 Committer (ã³ããããé©ç¨ãã人) ä¾: åãåã£ãããããåãè¾¼ãã 人 ãã¡ã¤ã«ã®ã¹ãããã·ã§ãã (tree) ã³ãããã§å¤æ´ããããã¡ã¤ã«ãå«ãããªã¼ï¼èª¬æã¯çç¥ï¼ 1ã¤åã®ã³ãããã®ãªãã¸ã§ã³ ä¾: 4717e3cf182610e9e82940ac45abb0d422a76d77 9. ã³ãããã«å ¥ã£ã¦ãæ å ± ãªãã¸ã§ã³ (SHA-1 ããã·ã¥) ä¾: 23cdd334e6e251336ca7dd34e0f6e3ea08b5d0db Author (ã³ããããä½æãã人) ä¾: ãªã¼ãã³ã½ã¼ã¹ããã¸ã§ã¯ãã«ããããéã£ã人 Co
ï¼æ³ã¨ï¼æ³ã®å¨ãããå±±æ¬æ³°å®ï¼@ymmt2005ï¼ã§ããããã«ã¡ã¯ã ãããªãã§ãããæããã§ãããªã«ãã£ã¦ã@DQNEO ãããæè¿æ¸ãããè¨äºãå¿ æ®ºï¼Githubå°å ¥ã«åãã¦ä¸å¸ã説å¾ããæã«ä½¿ããè³æã¾ã¨ããã«è¼ãæãã¦ãã¾ã£ãããã§ãã ãµã¤ãã¦ãºã§ã Git 㨠GitHub Enterprise ãå°å ¥ãã¦ãã¾ããå°å ¥ãéç¨ã®å©ãã«ãªãè³æããã¼ã«ãä½ã£ãããã¦ãã¨ã¦ã便å©ãªã®ã§ãããå ¬éããããªã¨æã£ã¦ãããã§ããå¿ããã«ãã¾ãã¦å¾åãã«ãã¦ããããåºé ãä¼æ¥ã«ã°ã«ã¼ãã³ã°ããã¦ãã¾ããªãã¦ï¼æ¶ï¼ åºé ãã¦ãã¾ã£ã以ä¸ããªã«ããã©ã¹ã¢ã«ãã¡ããè¦ãããããåèªæ½åã®æ¹æ³ã¯ããã¾ãããä½ã失ã£ã¦ããªãããããªããã¨ããããã³ãã¯ããã¦ãã ããããããªã£ããæ¥ãå¤èããªã Subversion æ代ã®æ¥ããããéå»ããããåºãããã¡ããè³æãåºãã¦ãããã«ãã¦ãã¦ãè©°ãè¾¼ãã ãã¼
bitbucketãGitã«å¯¾å¿ãã¦ã ãããMercurialã¨åæ§ã«Gitã§ãprivateãªãªãã¸ããªãç¡æã§ä½¿ãããã£ããã¼! ã£ã¦æ°åã«ãªã£ã¦ããã®ã§ã èªåã®ãã·ã³ã«å ¥ã£ã¦ããgitãªãã¸ããªãæ¾ãè¾¼ããã¹ãããã¦ã¿ãã åºæ¬çã«gitã ããã©ãã«ããªããã? ã? ã£ã¦ãã¨ã§ã ã¾ããbitbucketã®Gitã®ãªãã¸ããªã«ã¢ã¯ã»ã¹ããããã«sshã®å ¬ééµãç»é²ããã ãã®åã«@ITã®è¨äº Linuxã§sshã®éµãä½æããã«ã¯ ãåèã«éµãä½ã£ã¡ããã¾ãããã $ ssh-keygen -t rsa -f bitbucket.org Generating public/private rsa key pair. ã§ããã¹ãã¬ã¼ãºãèãããã®ã§äºåãããå ¥åããã ããã§ã«ã¬ã³ããã£ã¬ã¯ããªã« ãbitbucket.orgãã¨ããç§å¯éµã¨ãbitbucket.org.pubãã¨
追è¨[2011/09/26] git-now ã®urlãgistããgit-hubã«å¤æ´ãã¾ããã 追è¨[2011/10/17] ã©ã¤ã»ã³ã¹ã¯GPLã§ã ä¸æçãªtmp ã³ãããããç°¡åãªãã°ã¡ãã»ã¼ã¸ã®ã³ãããï¼push åã«ãã°ã¡ãã»ã¼ã¸ãæ´ãã¦ãã¾ãï¼ãä½ãã¨ããä»ã¾ã§âã¿ãããªäºããã¦ãã¾ããã ã§ãããã使ããªããããããåºæ¥ãã便å©ããã¼ãã¨ãã¤ã¶ããã¦ããããé£ã®äººãä¸æ©ã§ï¼ï½ï½ ã¨ããããªæãã§åºæ¥ãgit-now ã®ç´¹ä» ç°¡åãªå®è¡ä¾ ã³ãã³ã $ git now ããã§ãç管çããã¦ãããã¡ã¤ã«ã®tmp ã³ããããä½æã§ãã¾ãã ã³ãããã¡ãã»ã¼ã¸ä¾ [from now] Tue Dec 7 23:00:24 2010 diff --git a/hello.py b/hello.py index 51cff9f..9e84b86 100644 --- a/hello.p
ããæ«ããTwitter ã ML çã§ãMercurial ã®ããã©ã³ããã«é¢ãã質å (ç¹ã« Git ã®ããã©ã³ããã¨ã®å¯¾æ¯) ã«çããæ©ä¼ã度ã ãã£ãã®ã§ãMercurial ã«ãããããã©ã³ããã®æ¦å¿µã«é¢ãã¦ã¾ã¨ãã¦ã¿ãã å®ã®ã¨ãããSCMBootCamp in Nagoya #1 ã§ã®ã稲ç°æ° (id:methane) ã®åºèª¿è¬æ¼è³æã«ããã Mercurial ã®ãã©ã³ãã«é¢ãã説æ (30ãã¼ã¸ç®) ãè¦ã¦: å¥éå£é ã§ã®èª¬æãç¡ãã¨ãåå¦è ãä»ã®ãã¼ã«ããã®ç§»è¡è ã«ã¨ã£ã¦ã¯ã誤解ãæããããã®ã§ã¯ãªããããï¼ ã¨æã£ãã®ãããã®ã¨ã³ããªãæ¸ãå ã ã®åæ©ã ã£ãã®ã ããã©ãæ¸ãä¸ããã®ã«ããããï¼ã¶æ以ä¸ãè¦ãã¦ãã¾ã£ãã¨ããã®ã¯ãåçãããã¨ãããã ã£ã¤ã¼ããããæ«ãã¯æ¬å®¶ã« (è°è«ã®å©ãå°ã¨ãã¦ãªã¸ã§ã¯ãè¦æã§) ãããææ¡ãããã¨ãè²ã ã¢ã¬ã ã£ããã§ããã®è¾ºã¯åå¼ãã¦
ã©ãããããã«ã¡ã¯ãGitå¨ã®ä¸ä¸ã§ãã ç§ã¯ã¾ã Webãã¶ã¤ã³ç§ã®å°éå¦çã ã£ã3å¹´åã«Gitãå¦ã³å§ãã¾ããã ããSVN使ã£ã¦ãæ¹ãGitã«ãã¤ã£ãããã¾ãããç§ã®å ´åããã¼ã¸ã§ã³ç®¡çã·ã¹ãã ãã£ã¦è¨èããç¥ããªãã£ãç¶æ ã§Gitããæãåºããã®ã§ããã SetucoCMSããã¸ã§ã¯ãå ã§Gitãã¹ã¿ã¼ãããã®ã§ããªãã¨ãåå¼·ã§ããã®ã§ãããå½ææã£ãã®ã¯ãããã調ã¹ã¦ãåå¿è ãå¦ã¹ãGitã®æ å ±ãå°ãªããã¨ãããã¨ã§ãã ããããæè¿ã¯éåGitã人æ°ã«ãªã£ã¦æ å ±ãå¢ãã¦ããããã«æãã¾ããããã§ãã¦ã¾ã ã¾ã éè¦ã®å¤ãGitã§ãã®ã§ãåå¼·ãµã¤ãããã¼ã«çãã¾ã¨ãã¦ã¿ããã¨æãã¾ãã å¦ç¿ãµã¤ã èãæ¹ãããã¤ã³ã¹ãã¼ã«ã¨ãåºç¤ã³ãã³ããããå¿ç¨ã¾ã§ä¸éãã«ãã¼ãã¦ãããã®ãå¦ç¿ãµã¤ãã§ãããã¾ãã¯ã©ãããã£ã¦ã¿ãã®ãããã¨æãã¾ãã ããµã«ã§ããããGitå ¥éã http://
ããã«ã¡ã¯ãã¢ã·ã¢ã«ã®å¿ç°ã§ãã 社å ã§ãgitã浸éããçãã¼ã¸ã§ã³ç®¡çã¨ããã°gitã ãããã¨ãã空æ°ã«ãªã£ã¦ãã¾ããã ã§ãããããã¾ã§ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã使ã£ããã¨ããªã人ã«ãªã¹ã¹ã¡ãã¦ãã ãgitã¦â¦ã¾ãâ¦ãããâ¦ããããã¤ããããªãã¨ãããªããã©â¦ã ãã®ããï¼ã¸ããï¼ä¿ºã¯giã¯ã¸ã¨èªãæ´¾ãªã®ã§ãgitã¯è¡æ£èãã¨æãã ããããããã¼ã¸ã§ã³ç®¡çãã¦ä½ãå¬ããã®ï¼ãªããé£ãããã§ããã ã ã¨ãããããªåå¿ã°ããã§ããã ãã£ã¨ã¿ããªãgitã£ã¦é£ããã¦è¨³ã®ããããããã ã¨æã£ã¦ããã®ã§ã¯ï¼ã¨æãã ä»åã¯gitå ¥éã®å ¥éãgitã£ã¦ãªãã ï¼ã¨ããã¨ãããããç°¡åã«gitã使ãéã®æµãã«ã¤ãã¦ã説æãã¾ãã ã¡ãã£ã¨ä¸å®ãè¦ãããããªã¤ã©ã¹ããã¤ãã¦ãã¾ãã®ã§ãé å¼µã£ã¦èªãã§ãã ããã ãã¼ã¸ã§ã³ç®¡çã£ã¦ãªã«ï¼ ããã°ã©ã ãæ¸ãã¦ãã¦ããããªãã¨ããã¾ãããï¼ç§ã¯ããã¾ãâ¦
ãè¦åããã®è¨äºãèªãã§ãããªãã®Gitã©ã¤ããæ¹åããããã¨ã¯ãªãããããæªå½±é¿ãããããããã¾ããã gitã«ã¯ããã使ãã³ãã³ããaliasã¨ãã¦ç»é²ããæ©è½ãããã¾ããæåãªã®ã¯ã"git s"ã"git status"ã¨åãã«ããããæ¹ã§ãã $ git config âglobal alias.s âstatusâ ããªãã®$HOMEãã£ã¬ã¯ããªã«ãã.gitconfigã«ããã®ããã«æ¸ãã¦ãåæ§ã§ãã [alias] s = status 便å©ã§ãããããã§ãæè¿èªåããã使ã£ã¦ãããgit-flowã¨ããã³ãã³ããã"git 風å"ã§å¼ã³åºããããã«aliasãè¨å®ãã¦ã¿ã¾ãããã $ git config alias.風å âflowâ error: invalid key: alias.風å ã¨ã©ã¼ã«ãªãã¾ããã.gitconfigã«è¨è¿°ãã¦ãã¨ã©ã¼ã«ãªãã¾ããã©ããã
ç§ã®ã¡ã¤ã³IDEã¯Eclipseã§ãSVNã使ç¨ãã¦ããã®ã§ãããgithubã«ã¡ãã£ã¨å ¬éãããã½ã¼ã¹ãã§ããã®ã§ãgitãEclipseããã§ããªããã®ãã¨ãã©ã°ã¤ã³ãæ¢ãã¦ã¿ãããããã¾ãããEGitã åã«èª¿ã¹ã [â¦] ç§ã®ã¡ã¤ã³IDEã¯Eclipseã§ãSVNã使ç¨ãã¦ããã®ã§ãããgithubã«ã¡ãã£ã¨å ¬éãããã½ã¼ã¹ãã§ããã®ã§ãgitãEclipseããã§ããªããã®ãã¨ãã©ã°ã¤ã³ãæ¢ãã¦ã¿ãããããã¾ãããEGitã åã«èª¿ã¹ãã¨ãã¯msysgitã§ãããããªããEclipseãã©ã°ã¤ã³ãgitåããåºãã°ã£ããã§ããã«åããªãã£ãã®ã§è¦éã£ã¦ãã¾ãããã³ãã³ãã§æ®ããã¦ãã°å¥ã«åé¡ãªãã®ã§ãããããGUIã¡ã¤ã³ã§ãããã¡ã¤ã³ã®éçºç°å¢ããåºãã«æ¸ããªããã®æ¹ãããã§ãã ã¤ã³ã¹ãã¼ã« ã¢ãããã¼ããµã¤ããããã®ã§ãhttp://download.eclipse.org/
ã¿ããªããã¾ã ã«svnã使ãç¶ããã®ã§ãèªåã ãã§ãgitã使ã£ã¦å¹¸ãã«ãªã£ã¦ãããã£ã¦äººã®ããã®ã¬ã¤ãããã¼ã«ãç°å¢ãsvnã§ãã£ã¡ãã¤ãããã¦ããã¨ããããªãã§ããã¼ãã¨ããç¶æ³ã®äººåããããã¾ã§ãã¦gitã使ãã®ã¯æ©ããæè»ã ããããã¼ã¸ããµã¯ãã¨çµãããã git svnã£ã¦ï¼ svnããªã¢ã¼ããªãã¸ããªã¨ãã¦ããã¼ã«ã«ã§ã¯gitãæ±ãããã®ãã®ãgitã¤ã³ã¹ãã¼ã«ããã°å¤§æµã¯ãã£ã¦ããã©ãmacportsã ã£ãããããªæãã§ã¤ã³ã¹ãã¼ã«ã $ sudo port install git-core +svn gitãã¼ã«ã«ãªãã¸ããªãã¤ãã gitã¯åæ£ãªãã¸ããªãªã®ã§ãã¾ãã¯ãã¼ã«ã«ã«ãªãã¸ããªãæã¤ã¨ããããã¹ã¿ã¼ãã $ git svn clone -s http://svn.server/path/project ããã§svnãªãã¸ããªã®cloneããã¼ã«ã«ã«ã¤ãããããã§
GitHub ã®ããã㧠ãã©ã¤ãã¼ãã§ã¯ Git ä¸è²ã®ä»æ¥ãã®é ããããã ä»äºã§ã Git ã使ã£ã¦ã¿ããã¨ã«... åæ£åãªãã¸ããªã使ã£ãéçºã®ãªãºã ã¯é常ã«å¿å°ãã ä¸åº¦å³ãã£ã¦ãã¾ã㨠ãã äºåº¦ã¨éä¸åãªãã¸ããªã使ã£ãéçºã«ã¯æ»ããªã... ã¨ãããã¨ã§... ä»äºã§ã Git ã使ãããã¨æãã®ã¯è³ã£ã¦èªç¶ãªæµãã§ã¯ããã¾ããã è²ã ã¨å¤§äººã®äºæ ããã£ã¦ ãªãã¸ããªèªä½ã SVN ãã Git ã¸ç§»è¡ããã®ã¯ãããªã«ç°¡åãªè©±ã§ã¯ããã¾ããã ã¨è¨ã訳㧠git-svn ã§ããã git-svn ã使ãã°ãä»ã¾ã§éã SVN ã使ã£ã¦ããã¸ã§ã¯ããå ±æãã¤ã¤ããã¼ã«ã«ã®éçºç°å¢ã§ã¯ ãã£ãã Git ã使ãã¦ãã¾ãã®ã§ãã èªåã ã åæ£ãªãã¸ããªã使ã£ã¦ããæãã§éçºãè¡ãããã¹ã¦ã®æºåãæ´ã£ããéä¸ãªãã¸ããªã« push ãã¦ãä»ã®éçºè ã«å ¬éãããªãã¦ãã¨ãã§ãã¾ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}