git commit --amend : 마지막 커밋 수정
git commit --amend
커밋 메시지 변경 : 아래 명령어로 에디터 열어 커밋 메시지 변경
커밋에 변화를 추가하고싶은 경우 : 이전 커밋에 추가하고싶은 사항을 git add 한후 git commit --amend 후 수정해줌 => 마지막 커밋에 포함됨!
커밋 메세지 한줄로 변경하고 싶을 때 git commit --amend -m 'Add members to Panthers and Pumas'
git commit --amend -m 'Add members to Panthers and Pumas'