본문 바로가기
Github

Github RESET, 원격저장소에 남은 commit history 삭제

by 그래놀라_ 2021. 7. 26.

https://blankspace-dev.tistory.com/346

 

[GIT] git reset 또는 여러 명령어 취소하는 방법 (git reflog)

상황 [1] 오늘도 git에 코드를 업데이트하기 위해서 로컬에서 작업을 하고 있는데.. 로컬에만 commit을 해놓고, git push를 하지 않은 상태에서 reset으로 작업한 commit을 날릴 경우.. [2] 이전 커밋에서는

blankspace-dev.tistory.com

 

https://abn-abn.tistory.com/312

 

GitHub 원격저장소 히스토리 삭제하기

 출처 : https://jupiny.com/2019/03/19/revert-commits-in-remote-repository/ Git으로 버젼 관리를 하며 개발하다보면, 작성한 커밋들을 되돌려서 다시 이전 상태로 원상복구하고 싶은 경우가 한번쯤 있을 것..

abn-abn.tistory.com