Elevate your software delivery from planning to production and beyond, with built-in AI, CI/CD, and a best-in-class Jira integration.
.gitignore ã .hgignore ã§ç®¡ç対象ããç¡è¦ãããã¨ãã§ããã®ã¯ãåç¥ã§ãããã Visual Studio ã«ã¦ç¡è¦ãããã¡ã¤ã«ä¸è¦§ãMSDNã§æ¢ãããã©ç¡ãã£ãã®ã§ stackoverflow ã§èª¿ã¹ãããã£ãã®ã§ã¡ã¢ããã¨ãæãã¦ããã£ãæ¹æ³ã追è¨ã stackoverflow ã®åçä¾ github / .gitignore ãç¨ããæ¹æ³ ç¡è¦ãã¡ã¤ã«ã®è¨å® .gitignore ã®å ´å gitã®å ´åã¯ã .gitignore ãããã¦ããã¾ãã .hgignore .hgignore *1 ã«ä¸è¨å 容ãè¨è¼ãã¦ãã ãããMercurialã®å ´åã®ç¡è¦ãã¡ã¤ã«ã¯ãããã©ã«ãã¯æ£è¦è¡¨ç¾ã§è¨è¿°ããã®ã§ãglobææ³ï¼SHELLå½¢å¼ã®ãã¿ã¼ã³ãããã³ã°ã¨ãã®ãã¤ï¼ã«ããããä¸è¡ç® *2ã« syntax:glob 㨠è¨è¼ãã¾ãã syntax:glob *.obj *
æ¬ä»¶ã¯Mercurialã§ã¢ã¬ãå ã«æ»ã108ã®æ¹æ³ã«å«ã¾ãããããªå 容ã§ã¯ããã®ã ããé常ã«é·ããªãã®ã§ç¬ç«ããè¨äºã«ãã¦ã¿ãããQAå½¢å¼ã«å£ãã®ãªããããªæãã ãããã åé¡ï¼èª¤ã£ã¦ãã©ã³ãããã¼ã¸ãã¦ãã¾ã£ããããããã¼ã¸ã¯å ¬éãããããããã®ãã©ã³ãã«ã¯æ°ããä¿®æ£ãå ãããã¦ãããããã§ããã¼ã¸ããªãã£ããã¨ã«ãããã ã¡ãã£ã¨é·ããªãããµã³ãã«ã®ãªãã¸ããªãç¨æãã¤ã¤å®éã«å®è¡ã§ããããã«ãã¦ãããã®ã§ãèªãã ãã§ãªããã²æå ã§å®è¡ãã¦ã¿ã¦ã»ããããããããéä¸ log -G 㨠strip ã³ãã³ãã使ç¨ãã¦ããã®ã§ãgraphlog 㨠mq ã® extension 㯠ON ã«ãã¦ããã¦ã»ãããå ·ä½çã«ã¯ hgrc ã«æ¬¡ã®è¡ãæ¸ãã¦ããã ãã¨ãåã³ãã³ãã®çµæã¯ç ©éãªã®ã§ãblog ã«è¨è¼ããã«ããã£ã¦ããããã¨ããè½ã¨ãã¦ãã(ç¹ã« log -G)ãå®éã®å®è¡çµæã¯èªå
åå[@kana1ãã](http://twitter.com/kana1)ã«ãã[ãgitã§ã¢ã¬ããã¨ã«æ»ã108ã®æ¹æ³ã](/tech/git-undo-999)ã大åé¿ã§ä¸éã¯ãã¯ãgit使ããå¤ãã®ãã¨åèªèãã¾ããã ç§ãæ®æ®µã¯gitã使ã£ã¦ãã¾ããããä»äºã§ã¯Mercurialãä»äºã§ä½¿ã£ã¦ããã®ã§ã®ã£ãã£ã¦æ¸ãé£ãã¦ã¿ã¾ãããã ### åé¡1: ã©ã¤ãã©ãªã®æ°æ©è½ã試ãããã«ããããé©å½ãªã³ã¼ããæ¸ãã¦ããã¤ãã³ããããããã§ããããããªã ãã¦åã£ã±ãªããè¡ãè©°ã¾ãããã§ããåºæ¬çã«Mercurialã¯ãã³ããããç©ã¿éãããã®ãå¾ããç·¨éããããã¨ã«å¼±ãã®ã§ãã MQã使ã£ã¦è§£æ±ºãã¦ã¿ã¾ãããã $ hg update -r {revision} $ hg qimport -r {revision+1}:tip $ hg qpop âall $ hg qseries |
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}