Git管çä¸ããããããã¼ã«ã«ã§ä½æ¥ãã¦ã¦ãå 容ãä¿åã ãã¡ã¤ã«ãéããã ãããã£ã±ä»ã®ä¿åãªãï¼ ã»ã»ã»éãã¦ãã¾ã£ãããCtrl+Zãå¹ãããï¼ ã£ã¦æã«ä½¿ãã³ãã³ãã git checkout branchã®åãæ¿ãã«ä½¿ã£ããã®ã³ãã³ãããããããç¨éã§ã使ãããããªã # ãã®ãã£ã¬ã¯ããªå ¨é¨ git checkout . # åå git checkout hoge.htmlã§ãããã¾ã§æ»ããã®ã¯ããæå¾ã«ã³ãããããæç¹ã¾ã§ã ä½åãéãã¦ä¿åãã¦éãã¦ãã¦ãå ´åã«ã2åéããåã¾ã§ï¼ã£ã¦ã®ã¯ã§ãã¾ããã ã»ã»ã»ã§ãããè¯ãã£ãã®ã«ã ããã§ãã£ã¦ãã®ã³ãã³ãã¯ã以ä¸ã¨åãã git checkout HEAD hoge.htmlãã§ãã¯ã¢ã¦ãï¼ä½æ¥éå§ã®å®£è¨ã¨æãããªãã°ã æå¾ã«ä½æ¥éå§ãããã¨ããç¬éï¼æå¾ã«ã³ãããããç´å¾ ãã®ã³ãããããç¬éã«ç«ã¡æ»ãã»ã»ã£ã¦æå³
{{#tags}}- {{label}}
{{/tags}}