본문 바로가기
other

git 최근 커밋 삭제 및 staged 파일 내리기

by seohan1010 2025. 12. 10.

 

git reset --mixed HEAD~1

 최근 커밋을 삭제해 주고 
stage 올라가 있는 파일 목록을 
내려준다.