728x90 반응형 git push 취소1 [git] git push 되돌리기 - reset git commit을 잘못하여 되돌려야 할때가 있다. 이럴 경우 git reset 명령어를 사용해서 commit을 되돌릴 수 있다. commit 되돌리기 먼저 git log 를 통해 commit 내용을 살펴보자. $ git log commit fe954047297922fdc380b974ebe83a401504ed6c (HEAD -> main, origin/main) Author: test Date: Thu Nov 25 19:17:39 2021 +0900 third commit commit 388ac6c6d77cad44065b51f1f5e2cd461660ebc8 Author: test Date: Thu Nov 25 19:16:24 2021 +0900 second commit commit 070310e37ee.. 2021. 11. 25. 이전 1 다음 728x90 반응형