변경사항 (가장 최근의 "일반적인 수정"부터)
(다른 변경사항 없음)
-24,10 +24,6 |
|
== # Comments == |
<div class="comments"> |
|
1 <mysign(fnfOzvSR,2025-2-24 6:46 pm)> |
|
1 <mysign(fnfOzvSR,2025-2-24 6:46 pm)> |
<longcomments(100)> |
---- |
|
몇 번을 읽어도, 읽을 때는 정말 쉬운 얘기이고, '그렇지 그렇지' 하면서 읽는데, 창을 닫고 혼자 정리하려면 영 헷갈리는 내용 -ㅅ-;
이 그림은 찾아보기 쉽도록 위 글에서 캡춰:
reset과 checkout의 차이를 보여주는 그림. 역시 위 글에서 가져옴:
reset --soft
는 [Practical uses of git reset --soft? - Stack Overflow]에 있는 리플 참조.
So, each time:
you are satisfied with what you end up with (in term of working tree and index)
you are not satisfied with all the commits that took you to get there:
git reset --soft is the answer.
/복구 - 잘못된 리셋으로 날아간 데이터를 복구하는 것에 관한 이야기
2. Comments
기타분류