layris3 / Daily-learning-experience-record

daily learning experience
0 stars 0 forks source link

git-the options for "git log" #8

Open layris3 opened 4 years ago

layris3 commented 4 years ago

git log this prompt is used to view the history of commits.

git log -p or git log --patch this prompt is used to show the difference in each commit

git log --stat this prompt is used to show the stats for each commit

git log -2 this prompt is used to show the 2 lastest commits

git log --since=2020-06-03 --before=2020-06-04 this prompt is used to show the commits commited on 2020-06-04.