git log can see all commit log

#git log
commit 2737cfa37f81810072f074dcf19964be0a5eea2e (HEAD -> master, origin/master, origin/HEAD)
Author: panzidong <panzidong@com>
Date: Mon May 6 17:54:19 2019 +0800

+AHB-9 New Feature call mosquitto function and fix CMakeList.loop.txt wrong grammar

commit 9c754419ba7207e62c62ff1e2d223b114d93a475
Author: panzidong <panzidong@com>
Date: Mon May 6 16:08:33 2019 +0800

+AHB-8 New Feature spec mosquitto header file and mosquitto shared library path

commit 3c672f250abda068e4c54cba3e28d89bf8db6b3c
Author: panzidong <panzidong@com>
Date: Mon May 6 15:48:28 2019 +0800

#AHB-7 Change env for armhf cross compile

git show <sha1> shows the log message and textual diff

# git show 2737cfa37f81810072f074dcf19964be0a5eea2e
commit 2737cfa37f81810072f074dcf19964be0a5eea2e (HEAD -> master, origin/master, origin/HEAD)
Author: panzidong <panzidong@com>
Date: Mon May 6 17:54:19 2019 +0800

+AHB-9 New Feature call mosquitto function and fix CMakeList.loop.txt wrong grammar

@@ -224,6 +225,21 @@ xt_s32 ParseOption(xt_s32 argc, xt_string *argv) {

diff --git a/main.c b/main.c
index b8167e1..c22f17b 100755
--- a/main.c
+++ b/main.c

void XlogInit(void) {
+
+}
+
+
+
+void mosquitto_test(void){
+
+ xt_s32 major = 0;
+ xt_s32 minor = 0;
+ xt_s32 revision = 0;
+ mosquitto_lib_init();
+ mosquitto_lib_version(&major, &minor, &revision);
+ mosquitto_lib_cleanup();
+ Xprintf("mosquitto version %d.%d.%d \n",major,minor,revision);
+
}

git log/show/HEAD step(2)的更多相关文章

  1. git log命令全解析,打log还能这么随心所欲!

    git log命令非常强大而好用,在复杂系统的版本管理中扮演着重要的角色,但默认的git log命令显示出的东西实在太丑,不好好打扮一下根本没法见人,打扮好了用alias命令拍个照片,就正式出道了! ...

  2. [译]git log进阶

    格式化log输出 oneline --oneline标记将每个commit压缩成一行. 默认情况下显示一个commit ID和commit描述的第一行. 输出如下: 0e25143 Merge bra ...

  3. python解析git log后生成页面显示git更新日志信息

    使用git log可以查到git上项目的更新日志. 如下两个git项目,我想把git的日志信息解析成一个便于在浏览器上查看的页面. https://github.com/gityf/lua https ...

  4. [git]Git log 输出格式化(转载)

    转载于:https://havee.me/linux/2015-05/git-pretty-output.html 美化完的格式: git log --graph --pretty=format:'% ...

  5. git log 格式化输出

    Git log --graph --pretty=format: '%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)& ...

  6. git log 常用命令及技巧

    git log常用命令以及技巧 1.git log 如果不带任何参数,它会列出所有历史记录,最近的排在最上方,显示提交对象的哈希值,作者.提交日期.和提交说明.如果记录过多,则按Page Up.Pag ...

  7. git log --stat常用命令

    ​1,显示被修改文件的修改统计信息,添加或删除了多少行. git log --stat 2,显示最近两条的修改 git log --stat -2 3,显示具体的修改 git log -p -2 4, ...

  8. [译]git log

    git log git log命令用来显示提交的快照. 能列出来你项目的历史, 能过滤和搜索你指定的一些修改. git status能让你检查工作目录和stage区的状态, git log只提供被co ...

  9. git log控制输出宽度

    %<(N, trunc) 下一个单元的输出宽度限制为N列, 左对齐 %<|(N, trunc) 下一个单元输出至全局第N列, 左对齐 %>, %>|, %>>, % ...

随机推荐

  1. AOP的应用与基本概念(源自别人的博文)

    什么是AOP AOP(Aspect-OrientedProgramming,面向方面编程),可以说是OOP(Object-Oriented Programing,面向对象编程)的补充和完善.OOP引入 ...

  2. javascript 的惯性运动

    移动端的惯性运动,最早来自 ios 的专利.用于手指滑动,离开屏幕之后,屏幕内容继续滚动.更有动态感. 这里,以 pc 端,鼠标横向(沿x轴) 拖拽的,惯性计算.移动端同理 具体代码如下: <! ...

  3. c#Socket通讯

    参考http://bbs.cskin.net/thread-326-1-1.html的大神的代码 socket封装 /// <summary> /// 自定义Socket对象 /// &l ...

  4. hexo发布后样式丢失

    修改配置中url路径,和root,问题解决.

  5. vue路径中的#号

    最近学习vue过程中,发现路径当中总是存在一个#号,比如这个: 这种情况是因为在入口js文件中,如果你不更改设置的话,vue会默认使用hash模式,该模式下回将路径格式化为 # 开头. 如果需要美化路 ...

  6. docker第二篇 Docker基础用法

    Docker中的容器 lxc -> libcontainer -> runC OCI (Open Container Initiative) 由Linux基金会主导于2015年6月创立 作 ...

  7. CentOS如何安装MySQL8.0、创建用户并授权的详细步骤

    # 安装相关软件 yum install -y gcc gcc-c++ openssl openssl-devel ncurses ncurses-devel make cmake # 获取MySQL ...

  8. You are using the runtime-only build of Vue where the template compiler is not available.

    使用vue-cli搭建的项目,启动报错 You are using the runtime-only build of Vue where the template compiler is not a ...

  9. Java基础加强-日志

    /*日志*/ 从功能上来说,日志API本身所需求的功能非常简单,只需要能够记录一段文本即可 API的使用者在需要记录时,根据当前的上下文信息构造出相应的文本信息,调用API完成记录.一般来说,日志AP ...

  10. 宝塔 + 阿里云ECS + MySql + Navicat 远程连接数据库

    宝塔 + 阿里云ECS + MySql + Navicat 远程连接 1. root登录: 2.  grant all privileges on *.* to root@'%' identified ...