728x90 반응형 revert1 git revert : 특정 commit 취소하기. revert : 특정 commit 취소하기.revert: 되돌리다.취소할 commit id를 입력받음. git revertgit revert [취소할 commit id (hash value)] 는 repository에 반영된 내용을 취소해야 하는 경우 사용됨.취소를 시키고 취소된 상태의 새로운 commit을 추가하는 방식임. : 취소되는 commit도 log에서 확인 가능함.이 부분이 아예 취소되는 commit를 log에서도 삭제해버리는 reset 과의 가장 큰 차이점임.reset 은 되돌아갈 commit의 commit id(=hash value)를 인자로 넘겨줌.revert 는 취소시킬 commit의 commit id를 인자로 넘겨줌.remote repository로 공동작업자와 같이 작업하는 경우, .. 2023. 12. 30. 이전 1 다음 728x90 반응형