git
VirtualBoxä¸ã®CentOSã§éçºããã¦ãã¦ãããæ¥VMãããªã¼ãºããã®ã§æ¸ã å¼·å¶åèµ·åããããã¼ã«ã«ãªãã¸ããªãå£ããã 表é¡ã®ã¨ã©ã¼ãåºãã®ã§ã¨ãããã修復ããããå®å ¨ã«ç´ã£ã¦ãããä¸å®ã§çµå±ãªãã¸ããªãcloneãç´ããã¨ããè¨é²ã gitã³ãã³ããè»â¦
æ®æ®µä½æ°ãªãgit logå©ãã¦ããã©ãå®ã¯ãªãã·ã§ã³ãå¤ãã¦é©ããã èªåçã«ä½¿ããããªãã®ãã¡ã¢ãã¦ããã åèãµã¤ã transitive.info - git log 使ãæ¹ Git - ã³ãããå±¥æ´ã®é²è¦§ åã®èããæå¼·ã®ry è²ã 調ã¹ãçµæãèªåã§ä½¿ããªããããªã¨ããããªã¼â¦
æ¯ågit branchå©ãã¦ç¢ºèªããã®ãã©ããã¨æã£ã¦ããªãã¨ããªããªãããªã¼ã¨èª¿ã¹ãããã£ãã 以ä¸ã®ãµã¤ããåèã«ããã¦ããã ãã¦ãè¨å®ããã¦ã¿ã åèãµã¤ã Gitã使ãå§ããããã£ã¦ãããã便å©ãªè¨å®ãããã : ã¢ã·ã¢ã«ããã° ç°å¢ amazon linux 6â¦
Jenkinsãã©ã°ã¤ã³ã使ãã°è§£æ±ºã§ããããããã©ã社å ç°å¢ã®é½åã§ãã©ã°ã¤ã³ãå ¥ããã®ã大å¤ã ã£ãã®ã§bareã«ããã¯ãä»è¾¼ãã§ã¿ãã Jenkinsã¸ã§ããç¨æ ã¸ã§ããä½ãéããã«ãã»ããªã¬ã§ãªã¢ã¼ããããã«ãããã§ãã¯ãã èªè¨¼ãã¼ã¯ã³ã¯ä»»æã®æååâ¦
svnã¯ã©ã¤ã¢ã³ãã¿ããã«commitã¯ciãããããcheckoutã¯coããããã ï¼ git configã§ã¨ã¤ãªã¢ã¹ãå®ç¾©ãã ãã®ï¼ git configã³ãã³ãã§å®ç¾©ãããªããããªæã ciã§commitã®ã¨ã¤ãªã¢ã¹ãå®ç¾©ãããªã $ git config alias.ci commit ãªãã·ã§ã³ä»ã«ãããªãâ¦
éå»ã®ã³ããããå¤æ´ããæé ã§å®çª(?)ã®amendã¨rebaseã«ã¤ãã¦ã¡ã¢ ãã ã³ããããæ»ãããã ããªããã£ã¡ã®æé ã§æ»ãã gitã§ããããæ»ããã - ç ã¨æ¶ãããã®åã« ç´åã®ã³ããããå¤æ´ãã ä»ã³ããããããã ãã©ãã¡ãã£ã¨ä¿®æ£è¶³ãã¦ãªãã£ãã£ã¦â¦
gitã§ä½ããæ»ãããæããã¤ãã©ã®ã³ãã³ãå©ããå¿ããã®ã§ã¡ã¢ ã¯ã¼ãã³ã°ããªã¼ãå ã«æ»ã ãã¡ã¤ã«ç·¨éãããã©ã¾ã addãã¦ãªãæ $ git checkout . $ git checkout -- . $ git checkout HEAD -- .ã©ããHEADã®ç¶æ ã«ã¯ã¼ãã³ã°ããªã¼ãæ»ãã¦ãããã(â¦
äºã®çºç«¯ã¯ããããªåºæ¥äºãä»äºã§gitã使ã£ã¦ãã¦ãéçºä¸ã®ã½ã¼ã¹ãããã«ããããã¤ããªãã¡ã¤ã«ããªãã¸ããªã«çªã£è¾¼ãã§ç®¡çãã¦ããæè¿ããã«git cloneããæã«æéãããããªã¼ã¨æã£ã¦è¦ããããªãã¸ããªãµã¤ãºã200Mbè¶ ãã¦ãï¼ï¼ããããè¦ãã.gâ¦