è«çæ§ã®é«ã commit ãä½ãæ¹æ³ git rebase -i ã³ãã³ããæ´»ç¨ããã rebase -i ã使ç¨ãããã¨ã§ commit ã® çµå/åå²/æ¸ãæã/é åºå ¥ãæ¿ã ãå¯è½ã 以ä¸ã§ã¯ä¸çªä½¿ãã§ãããçµå(squash)ã«ã¤ãã¦ç´¹ä»ãã¾ãã $ git log --oneline bfc2a57 (HEAD -> master) TOPç»é¢ã®å®è£ e84e22e ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®typoä¿®æ£ ba76419 ã¨ã©ã¼ã¡ãã»ã¼ã¸ã®è¿½å ãããªæãã® commit log ããã£ãã¨ãã¾ãã ãããããã¡ãªã±ã¼ã¹ã ã¨æãã¾ãã typoä¿®æ£ã ãã®ã³ããããªãã¦ã¾ã¨ãã¦ãã¾ãããã§ãããã ãã㧠git rebase -i ã®åºçªã§ãã $ git rebase -i HEAD~3 # HEAD 㯠@ ã¨ãæ¸ãããä¾¿å© $ git rebase -i @~3 ä¸ã®ã³ãã³ãã§H
{{#tags}}- {{label}}
{{/tags}}