브랜치가 가르키는 버전을 바꾼다
- remove 1 commit
- make 3 commit to 1
if argument is branch then refer reference of that branch (안연결될 놈들은 접근 못하기 때문에 삭제, 취소처럼 느껴지는거)
—hard make all delete, —soft just move
- revert all
if already pushed
Reset VS Checkout - GIT4 - Reset & Revert
비슷한듯 다른 기능인 git reset과 git checkout을 비교함으로서 각각의 기능에 대해서 더 잘 이해해보는 시간입니다. git reset : 브랜치가 가르키는 버전을 바꾼다. git checkout : HEAD가 가르키는 것(브랜치나 버전)을 바꾼다. reset vs checkout 의 이론적인 비교 reset vs checkout 의 비교 실습 reset과 checkout을 댓글로 설명해보세요.
https://opentutorials.org/module/4032/24532
Delete commits from a branch in Git
I would like to know how to delete a commit. By delete, I mean it is as if I didn't make that commit, and when I do a push in the future, my changes will not push to the remote branch. I read git...
https://stackoverflow.com/questions/1338728/delete-commits-from-a-branch-in-git


Seonglae Cho