SourceTreeã§æ¥½ã git-flow, hg-flow #augj
Atlassian Advent Calendar 2012 #augj
Atlassian Advent Calendar 2012 #augj on Zusaarã®ã¨ã³ããªã«ãªãã¾ãã
åæ¥ã¯id:sue445ããã®BitbucketとGithubをゆるく比較 #augj - くりにっきã§ãã
ææ¥ã¯id:troter ããã§ãã
git-flow, hg-flow ããããããã
楽ã«ãã©ã³ãæ¦ç¥ã試ãããããã¾ããã¨ãããããã¨ããããå§ãã¦è¦ãåã«ã¯git-flow, hg-flowã¯ããã¨æãã®ã§ãã
ããã§ãããWebã¢ããªãã¨ããããã¤ãã£ã¦ã¿ãããªã£ãã¨ãã«Railsã§ãã£ã¦ã¿ããçãªã
ã§ããããªãã ããã ã§git-flowãhg-flowã«ãªãã¨ã³ãã³ãããã¡ã¾ããç´ ã®gitãhgããã¨ã¦ãç°¡åã«ãªã£ã¦ã¯ãã¾ããã
åé¡ã¯hgã®ã»ãã§ãã
hgã¯æ¢ã«å²ä¸æé«ã®GUIã¯ã©ã¤ã¢ã³ãã§ããTortoiseHgãæãã¦ããããã§ãhg-flowã§ã³ãã³ãã©ã¤ã³ã«ç§»è¡ããã®ã¯ãæ°æ¥½ããçã«ã¯ãã¾ãè¯ãããªãããã«æãã¾ãã
SourceTree
ã ãããããSourceTreeã¨ããGUIã¯ã©ã¤ã¢ã³ããããã¾ãã¦ãç¾å¨ã¯Atlassianãããéçºããã¦ãããã®ãã¼ã«ããªãã¨ãhg-flowã¨git-flowããµãã¼ããã¦ãã¾ãã
ããããã®GUIã¯ã©ã¤ã¢ã³ãã¯ãªããªã使ãæãã®ã§ãã
ã¨ãããã¨ã§ãhg-flowã®ä½¿ãæ¹ãç´¹ä»ãããã¨æãã¾ãã
git-flow, hg-flowã®ãã©ã³ãæ¦ç¥ãã¯ã¼ã¯ããã¼ã«ã¤ãã¦
æ¦å¿µå³ã¯ãã¡ãã«ç¿»è¨³ä»ãã§ã®ã£ã¦ãã¾ãã
ã見えないチカラ: A successful Git branching model を翻訳しましたã
ã¤ã³ã¹ãã¼ã«ããå¿ è¦ã®ãããã®
Mercurialã¨SourceTreeã«ãªãã¾ãã
Mercurialã¯homebrewã§ããããã¾ãããããããããhg helpæ¥æ¬èªè¨³ãã§ãªãããããã¾ããã
ãã®ã¨ãã¯Mercurialã®å
¬å¼ãµã¤ããããã¤ããªãã¤ã³ã¹ãã¼ã«ãã¾ãããã
SourceTreeã¯AppStoreããã¤ã³ã¹ãã¼ã«ãã¾ãããã
hg-flowãå¥éã¤ã³ã¹ãã¼ã«ããå¿
è¦ã¯ããã¾ããã
ã¯ãããã
ããã¾ãã«æ¬¡ã®æµãã«ãªãã¾ãã
- SourceTreeãèµ·åãã¦ãªãã¸ããªãã¤ããã
- hg-flowãã¯ããã
- æ°ããfeatureãã¤ãã
- featureã®éçºãå®äºãã
- ãªãªã¼ã¹ãã¯ããã
- ãªãªã¼ã¹ãå®äºãã
- ãªãªã¼ã¹ãããã®ã¸ã®ç·æ¥å¯¾å¿ããã
ã©ããã£ã¦ãããæµãã¦ããã®ãã¯å
ã®A successful Git branching model ãè¦ã¦ãããã¨ãã¦ãããããã«å¯¾å¿ããSourceTreeã®æä½ã説æãã¾ãã
hg-flowãã¯ããã
hg-flowã®ã³ãã³ãã¯åºæ¬çã«ã¦ã£ã³ãã¦ã®å³ä¸ãããã«ãããhg flowããã¿ã³ãã¯ãªãã¯ããã¨ãããã©ã«ãã§ã次ã«ããããããã§ãããã¼ãã£ã¦æãã§é¸ãã§ããã¦ã¦ã£ã³ãã¦ãåºç¾ãã¾ããããããããã§ããã
æ°ããfeatureãã¤ãã
ããæ©è½ã®éçºãã¯ãããã¨ãã¾ããããã§ã¯ãªãããã®ITSã®ãã±ããçªå·ã§ãã©ã³ãã管çããã¨ä»®å®ãã¦ã0001ã¨ãã¾ãã
featureã®éçºãå®äºãã
ããã¤ãã³ãããããã¦0001ã®éçºãããã ã®ã§ããã®featureãã¨ãã¾ãã
ããã«0002ã®éçºãçµããç¶æ³ã§æ¬¡ã®ããã«ãã¦ã¿ã¾ããã
ãªãªã¼ã¹ãã¯ããã
æ©è½ãã»ã¨ãã©åºã¾ã£ã¦æ¥ãã®ã§ãªãªã¼ã¹æ®µéã«ã¯ããã¾ãããã¨ã¯åºæ¬çã«ãã°ãã£ãã¯ã¹ã®ã¿ã«ãªãã¨ãã段éã§ããã
æ¬çªç¨ã«å¿
è¦ãªãã¡ã¤ã«ãå¿ãã¦ããã®ã§è¿½å ãã¦ã¿ã¾ããã
ãªãªã¼ã¹ãå®äºãã
ãã¹ãããã®ä»ã®æºåãæ¸ãã ã®ã§ãã®ãã¼ã¸ã§ã³ã§ãªãªã¼ã¹ãã¾ãã
ãªãªã¼ã¹ãããã®ã¸ã®ç·æ¥å¯¾å¿ããã
ãªãªã¼ã¹ãã°ããããããããã¤ãããã¨ãã¦ããæ©è½ããåªå
çã«å¯¾å¿ãå¿
è¦ã«ãªãã¾ããã
hotfixãã¯ããã¾ãã
ã¾ã¨ã
ã³ãã³ãã§ã次ã
ã¨ãããã®ã¯ããããªãã®ã§ãããããã¼ãããããã¢ã¯ã·ã§ã³ã®ãã³ã«ããããªãã©ã³ãã«ãªãäºå®ã ããã¨ãã表示ãã§ãã®ã¯ããããããã§ããã
DVCSã®ãã©ã³ãæ¦ç¥ã§ãã£ã¨ãéè¦ãªã®ã¯ããªãã¸ã§ã³ã°ã©ããããã«é ã®ä¸ã§æãããããªã®ã§ã
hg-flowã¨ãgit-flowã¨ãå§ããã®é¢åããã ãªãã¨æãã¦ããæ¹ã¯ããã§ã¡ãã£ã¨è§¦ã£ã¦ã¿ãã®ãããã®ã§ã¯ãªãã§ããããã