您的位置:首页 > 其它

Git CMD - log: Show commit logs

2015-12-31 13:43 323 查看

命令参数

git log [<options>] [<revision range>] [[\--] <path>…​]

命令参数

--since=<date>, --after=<date>
  显示自指定日期后的日志。

--until=<date>, --before=<date>
  显示在指定日期前的日志。

实例

a) 显示提交日志。

$ git log


b) 单行显示日志。

$ git log --pretty=oneline


更多

http://git-scm.com/docs/git-log
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: