728x90
1. git reset HEAD^
2. git commit -m "커밋삭제"
3. git push origin master(또는 브런치 이름) -f
728x90
'Git' 카테고리의 다른 글
git CI/CD (0) | 2023.02.10 |
---|---|
Error Git pull (merge, rebase, fast-forward only) (0) | 2023.02.10 |
Error :this exceeds github's file size limit of 100.00 mb (0) | 2023.01.30 |
git hub에 코드/프로젝트 올리기 (0) | 2023.01.28 |
window에 git bash 설치하고 폴더 업로드 (0) | 2023.01.11 |