제로베이스 Git5 (Log and Diff)

ningbbang·2023년 6월 7일
0

Zerobase DS13

목록 보기
38/48

1. Git log 확인

git log
:q 또는 :q!로 exit

2. Git Diff 확인

1) branch간 확인
git diff branch1 branch2
remote repository는 origin/branch2

2) commit간 확인
git diff commit1 commit2

3) 최종 commit 내용 확인
git diff head head^

profile
HR Anaylist!

0개의 댓글