git commit 삭제1 이미 push한 git commit 삭제하기 1. 최근에 올린 commit을 삭제하고 싶으면 git reset HEAD^ 1. 최근 n개의 commit을 삭제하고 싶다면 git log를 통해 삭제할 commit 확인하고 git reset HEAD~n 2. github에 commit 삭제 반영하기 git push -f origin "branch name" 참고 https://yebeen-study-note.tistory.com/15 github 삭제는 항상 주의하자! 2023. 8. 29. 이전 1 다음