ç¸å¤ãããGitåå¼·ä¸ã§ãã 以ä¸èªåç¨ã®ã¡ã¢ã§ãã ç¹å®ã®ã³ãããèªä½ããªãã£ããã¨ã«ããã«ã¯ git reset --hard ... ãå©ç¨ããã°ããã®ã§ããããã®ã³ãã³ãã¯hardã¨ãªãã·ã§ã³ã ã¤ãã¦ããããã«ãã³ãããèªä½ãç¡ãã£ããã¨ã«ãªã£ã¦ãã¾ãã¾ãã ãªã®ã§ãééãã¦éãã³ãããã®é¨åã«resetãã¦ãã¾ã㨠アï¾ï¾ï¾ãªäºã«ãªãã¾ããï¼ã¨ãããããªãã¾ããï½ï¼ ã§ãããããgitãããå½ç¶å ã«æ»ãæ¹æ³ãããã¾ããã reflogã使ã£ã¦ãå ã«æ»ãã¾ãã å ã«æ»ãå ´åã«å©ç¨ããã³ãã³ãã git reset --hard ã§ãã git reset --hard "HEAD@{x}" xã®é¨åã«ã¯ãreflogã®çªå·ãå ¥ãã¾ãã é常å ã«æ»ãå ´åã¯ã"HEAD@{1}"ã«ãªãã¨æãã¾ãã # 試ãããã®ãã©ã³ãã¤ãã£ã¦åãæ¿ã git checkout -b test-br
{{#tags}}- {{label}}
{{/tags}}