본문 바로가기

Git

How to view the commit log

See what changes were commited. What is changed in the project

 

$ git log

// commit : each commit has its own id

// Author : author of the commit

// Date : date the of the commit 

// and messages..


$ git help log

$ git log -n 1

$ git log -n 2

//git log -n #of commits


$ git log --since=2012=06=15


$ git log --until=2012-06-15


$ git log --author="Kevin"


$ git log --grep="Init"

// global search



'Git' 카테고리의 다른 글

Rebase My Branch on Top of Something  (0) 2018.11.08
Undoing Changes  (0) 2017.06.18
Performing first commit  (0) 2017.06.11
Initializing a repository  (0) 2017.06.11
Installing Git  (0) 2017.06.11