åå git diff ãå³ã«æ¸ãã¦ã¿ãã¨ãããèªåã®ä¸ã§æå¤ã¨æ´çã§ããã®ã§ãããã¾ããªãã¨ãªã使ã£ã¦ãã git reset ã«ã¤ãã¦ãã¾ã¨ãã¦ã¿ãã ã¨ããããçµè«ãå ã«ã¾ã¨ãããã git reset ã¨ã¯ï¼ HEAD ã®ä½ç½®ãå¤æ´ããã³ãã³ãã ãªãã·ã§ã³ã«ãã£ã¦ã¤ã³ããã¯ã¹ãã¯ã¼ãã³ã°ããªã¼ã®å 容ãå¤æ´ã§ããã git reset ã®ãªãã·ã§ã³ã¯ï¼ --softã--mixed(ãªãã·ã§ã³ãªãã¨åç)ã--hard ãªãã·ã§ã³ããããå½±é¿åº¦ã®å°ããé ã«ä»¥ä¸ã®ããã«ãªãã --soft HEAD ã®ä½ç½®ã®ã¿ãå¤æ´ãããã¤ã³ããã¯ã¹ãã¯ã¼ãã³ã°ããªã¼ã«ã¯å½±é¿ãªãã --mixed (ã¾ãã¯ãªãã·ã§ã³ãªã) HEAD ã®ä½ç½®ã¨ã¤ã³ããã¯ã¹ãå¤æ´ãããã¯ã¼ãã³ã°ããªã¼ã«ã¯å½±é¿ãªãã --hard HEADã®ä½ç½®ãã¤ã³ããã¯ã¹ãã¯ã¼ãã³ã°ããªã¼ããã¹ã¦å¤æ´ããã ãã¦ãgit reset
{{#tags}}- {{label}}
{{/tags}}