마지막 2개의 커밋을 하나의 커밋으로 결합할 것임
$ git rebase -i HEAD~~
→ 텍스트 편집기가 열림
⚠️ intitial commit을 선택하고 싶다면 다음 명령어를 사용
$ git rebase -i --root
pick 9a54fd4 append description of the commit command
pick 0d4a808 append description of the pull command
# Rebase 326fc9f..0d4a808 onto d286baa
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash," but discard this commit log message
# x, exec = run command (the rest of the line) using shell
#
# If you remove a line here THAT COMMIT WILL BE LOST.
# However, if you remove everything, the rebase will be aborted.
#
이전 두 커밋은 이제 하나의 새 커밋으로 스쿼시됨