美文网首页
git 查看日志

git 查看日志

作者: jnxc1888 | 来源:发表于2018-06-11 17:14 被阅读16次

log使用详解

-p 选项展开显示每次提交的内容差异,用 -2 则仅显示最近的两次更新:

$ git log -p -2

--stat,仅显示简要的增改行数统计:

$ git log --stat 

--pretty 选项,可以指定使用完全不同于默认格式的方式展示提交历史。比如用oneline 将 每个提交 放在一行显示

git log --pretty=oneline

图形化gitk工具

gitk

相关文章

  • git的一些常用命令

    $ git status 查看状态$ git log查看日志$ git reflog 查看操作日志$ git c...

  • git 常用命令

    获得版本库 git init git clone​ 查看信息 git help Git log​ 查看提交日志 g...

  • git

    配置 git stash 分支 git log查看日志 git reflog查看commits push后撤销pu...

  • git 命令行使用

    一 git常用命令 git branch //查看本地所有分支 git log //查看提交日志 git fe...

  • 历史

    查看提交日志:git log单行历史:git log --pretty=oneline

  • Git

    Git 配置git 创建版本库: 把一个文件放到Git仓库: 查看仓库状态: 查看修改内容: 查看提交日志 版本回...

  • 读git书籍笔记(精通git - 第二版)第四节: Git工具

    选择修订版本 1.单个修订版本 git log:查看提交日志 git show: 查看单次提交日志项目中8-10个...

  • Git command

    版本切换 切换到某次提交的版本 git reset --hard commit_id 查看日志 查看日志 gi...

  • Git: 版本控制(8)

    查看提交的日志git log git log 默认会显示全部了的日志,包括提交的IDAuthorDate还有描述。...

  • 常用命令

    1、git status 查看工作区和暂存区的状态 2、 日志:git log 和 git reflog git ...

网友评论

      本文标题:git 查看日志

      本文链接:https://www.haomeiwen.com/subject/uzmheftx.html