Gitã¯é常ã«ä¾¿å©ã§ããããããã便å©ã§ãããæ ã«æ³¨æãæ ã£ã¦ãã¾ããã¨ãããã ããæ©è½ãå®è£ ããããã«ä½æ¥ããã¦ãããããã®éä¸ã§è©¦ããããã¨ãã§ããããã®æ©è½ã®å®è£ ã¯ã¾ã ãã°ããããããããªã®ã§ã便å©ã³ãã³ãstashã使ããã¨ã«ããã $ git stash saveããã§ãç·¨ééä¸ã®ç¶æ ãä¿åã§ããã ããã¦ã試ãããã£ããã¨ã試ããã¿ãã®ã ããã©ããä¸æããããªãã£ãã®ã§ããã¨ã«æ»ããã¨ããã®ã§ãã $ git clean -f Removing hogehoge Removing foobar! ããããã£ãã®ã¯ $ git reset --hardã ã£ãã®ã«ã stashã§ä¿åããã¦ããã大ä¸å¤«ã¨ããå®å¿æãããIndexã«è¿½å ãã¦ããªããã¡ã¤ã«ã¯stashã§ä¿åãããªããã¨ãå¿ãã¦ãã¾ãããããã¦ãresetã¨cleanãééãããã¹ã æ°ããæ¸ãç´ããã¨ã«ãã£ã¦ã³ã¼ãã
{{#tags}}- {{label}}
{{/tags}}