ã³ãããããåã«ç¢ºèªãã git status git branch --force ã -f ã¨ãã£ããªãã·ã§ã³ã¯çµ¶å¯¾ã«ä½¿ããªã force command ã使ããªãã¨ãããªãç¶æ³ãªã㦠"絶対â ãããã¾ããã絶対ã«ä½¿ããªããã¨ã åãããªããªã£ãã人ããã¹ åãããªãã¨ãã«æ軽ã«è§£æ±ºãããã¨ãã¦ã失æããã ããªã®ã§äººã«èãã¾ãããã èãã人ã Git ã«å¯¾ãã¦ç解ãç¡ãå¯è½æ§ãããã®ã§ãã³ãã³ããæã¤åã«ã©ãããäºãèµ·ããã説æãã¦ãããã¾ãããã ã¾ã¨ã ããªãã®æªäºã»éæ ã»å¤±æã¯å ¨ã¦è¨é²ããã¾ãã ã³ãããããã¾ãã«ç¢ºèªããã -f ã¯ä½¿ããªãããããªããªã£ãã人ãå¼ã¹ã
æµãå»ãã¨ãã£ãããªãã®ã§Twitterãã転è¼: â@nishio: Makefileã§å®è¡ããåã«ãgitã®ã¯ã¼ã¯ã¹ãã¼ã¹ãcleanã§ãããã¨ãã£ã¦assertããããã ãã©ãã©ãããã°ããããªãã @n0kada: test -z "`git status --porcelain`" ããããªåãã¾ããï¼ãããã¨ããããã¾ãï¼ $ make deploy # TODO assert workspace is clean test -z "`git status --porcelain`" make: *** [deploy] Error 1
Bazaarã§ããï½ããç¿ã§ãã§ããåæ£ãã¼ã¸ã§ã³ç®¡çâè¶ âå ¥éï¼ã¦ã«ã¤ããã¼ã«ã¤ãã«ã¤ããç°å¢ï¼ï¼20ï¼ï¼1/4 ãã¼ã¸ï¼ ãâåæ£âãã¼ã¸ã§ã³ç®¡çã¯é£ãããã¨ãã人ãã æè¿ãGitãMercurialã注ç®ãæµ´ã³ãSubversionãCVSãªã©ã®ä¸å¤®åã®ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã«ä»£ããåæ£åã®ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã®æ®åãé²ãã§ãã¾ããæ¬ç¨¿ã§ã¯ãGitãMercurialã«æ¯ã¹ããã¾ä¸æ©ãã¤ãã¼ãªåæ£ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã§ãããBazaarããç´¹ä»ãã¾ãã æ¬ç¨¿ã¯ãæ³å®èªè 層ã¨ãã¦ã¯SubversionãCVSãããã§ã«ä½¿ã£ã¦ãããåæ£ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã«èå³ãããæ¹ã対象ã¨ãã¦ãã¾ãããåæ£ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã ã£ã¦ä½ï¼ãã¨æãããæ¹ã¯ãé£è¼ç¬¬3åã®ãåæ£ãã¼ã¸ã§ã³ç®¡çGit/Mercurial/Bazaarå¾¹åºæ¯è¼ããåç §ãã¦ããã¨ã¹ã ã¼ãºã«èªã¿é²ããããã¨æãã¾ãã ãªã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}