-
커밋 히스토리 보기
git log
yunajoe@DESKTOP-ULNOHTM MINGW64 ~/Desktop/Git_Practice (master) $ git log commit 23453a29860fb3bce2a87749717bfd6f1dfc0100 (HEAD -> master, origin/master) Author: yunajoe <86518113+yunajoe@users.noreply.github.com> Date: Sat Feb 18 18:19:35 2023 +0900 Add the info in README.md commit 74b3b85cae59f4dc2daaee15110fc7724a1812a1 Author: yunajoe <yunajoe@gmail.com> Date: Sat Feb 18 17:19:29 2023 +0900 readme수정 commit b69451e5813c4f433746acbf77a92e34a2fbb299 Author: yunajoe <86518113+yunajoe@users.noreply.github.com> Date: Thu Sep 22 10:20:26 2022 +0900 Update README.md commit 095343435235eb984761d9b19bc9c39213258237 Author: yunajoe <86518113+yunajoe@users.noreply.github.com>
커밋히스토리 깔끔하게 보기 (커밋 히스토리를 볼 때 커밋 하나당 한 줄씩 출력)
git log --pretty=oneline
yunajoe@DESKTOP-ULNOHTM MINGW64 ~/Desktop/Git_Practice (master) $ git log --pretty=oneline 23453a29860fb3bce2a87749717bfd6f1dfc0100 (HEAD -> master, origin/master) Add the info in README.md 74b3b85cae59f4dc2daaee15110fc7724a1812a1 readme수정 b69451e5813c4f433746acbf77a92e34a2fbb299 Update README.md 095343435235eb984761d9b19bc9c39213258237 Make REAME.md looknice cfe4b0bcf749debcda87423ff08a0381d98d7619 add the info of calculator.py 7bcb609ce8f66cc54e82af9275a0bfe558c03de6 Create REAME.me d5881c1e25101fa9b754a2fe7a1ded886169167f add revised texts c30c6dc1c7cdf593952cc3cd7099b3c579c0a7b2 Create caculator.py and License
특정 커밋만 자세히 보기 (해당 커밋 아이디를 가진 커밋에서 어떤 변화(어떤 파일이 생기고, 기존 파일에서 어떤 부분이 수정되고 등)가 있었는지를 한눈에 볼수있다)
git show [커밋아이디]
$ git show 74b3b85 commit 74b3b85cae59f4dc2daaee15110fc7724a1812a1 Author: yunajoe <yunajoe@gmail.com> Date: Sat Feb 18 17:19:29 2023 +0900 readme수정 diff --git a/README.md b/README.md index 4f46387..a617b67 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -## Git Bash 연습입니당 오늘도 화이팅:) +## Git Bash 연습 Repo입니다 **1. calculator.py** => 계산기 모듈
'Git' 카테고리의 다른 글
git reset (0) 2023.02.19 커밋메시지 다루기 (m옵션 없이 메세지 남기기, 최신 커밋 수정하기, as로 별칭 만들기, 두 커밋 간의 차이보기) (0) 2023.02.19 오픈소스(Open Source) & Glt Clone해보기 (0) 2022.09.22 Remote repository와 Local repository를 연결해보기 (0) 2022.09.17 Git시작하기 (0) 2022.09.17