在提交了若干更新,你也许想回顾下提交历史。git log完成这个任务。
然后在此项目中运行 git log,应该会看到下面的输出:1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24$ git log
commit b6a3a44ff118711f59d6ea729453605ae7166ca9
Author: yongfeiuall <yongfeiuall@163.com>
Date: Tue Nov 10 08:05:31 2015 +0800
add update track
commit 15d47dabff32d9e6e374220fa28a11e6c7bb722b
Author: yongfeiuall <yongfeiuall@163.com>
Date: Tue Nov 10 07:57:03 2015 +0800
1st commit
commit 60850fd49a528418120836febdb996ef05afd175
Author: yongfeiuall <yongfeiuall@163.com>
Date: Tue Nov 10 07:56:23 2015 +0800
1st commit
commit a93f60ed24cb23ccaff828e63402a6fba3ae9d08
Author: yongfeiuall <yongfeiuall@163.com>
Date: Mon Nov 9 14:52:43 2015 +0800
docuument draft
这里只用基本的使用,如果想用更详细的参数和方法,请查看官方文档。