git log/show/HEAD step(2)
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)的更多相关文章
- git log命令全解析,打log还能这么随心所欲!
git log命令非常强大而好用,在复杂系统的版本管理中扮演着重要的角色,但默认的git log命令显示出的东西实在太丑,不好好打扮一下根本没法见人,打扮好了用alias命令拍个照片,就正式出道了! ...
- [译]git log进阶
格式化log输出 oneline --oneline标记将每个commit压缩成一行. 默认情况下显示一个commit ID和commit描述的第一行. 输出如下: 0e25143 Merge bra ...
- python解析git log后生成页面显示git更新日志信息
使用git log可以查到git上项目的更新日志. 如下两个git项目,我想把git的日志信息解析成一个便于在浏览器上查看的页面. https://github.com/gityf/lua https ...
- [git]Git log 输出格式化(转载)
转载于:https://havee.me/linux/2015-05/git-pretty-output.html 美化完的格式: git log --graph --pretty=format:'% ...
- git log 格式化输出
Git log --graph --pretty=format: '%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)& ...
- git log 常用命令及技巧
git log常用命令以及技巧 1.git log 如果不带任何参数,它会列出所有历史记录,最近的排在最上方,显示提交对象的哈希值,作者.提交日期.和提交说明.如果记录过多,则按Page Up.Pag ...
- git log --stat常用命令
1,显示被修改文件的修改统计信息,添加或删除了多少行. git log --stat 2,显示最近两条的修改 git log --stat -2 3,显示具体的修改 git log -p -2 4, ...
- [译]git log
git log git log命令用来显示提交的快照. 能列出来你项目的历史, 能过滤和搜索你指定的一些修改. git status能让你检查工作目录和stage区的状态, git log只提供被co ...
- git log控制输出宽度
%<(N, trunc) 下一个单元的输出宽度限制为N列, 左对齐 %<|(N, trunc) 下一个单元输出至全局第N列, 左对齐 %>, %>|, %>>, % ...
随机推荐
- Pygame小游戏练习一
@Python编程从入门到实践 Python项目练习 一.安装Python包Pygame 通过pip安装包工具安装 python3 -m pip --version #查看是否安装pip 确定安装pi ...
- .Net C# Dictionary 和参数字符串互转
#region Parse #region Dictionary Parse To String /// <summary> /// Dictionary Parse To String ...
- element-ui当中table组件的合并行和列的属性:span-method的用法
背景 最近基本上都是以Vue来构建项目,而UI框架也基本上都是使用的element-ui,所以里面组件用的也是越来越多,今天想记录的是非常非常小的一个属性的用法. Table组件 Table组件用了真 ...
- 微信小程序配置动态title
wx.setNavigationBarTitle({ title: this.dynTitle }) 通过页面路由跳转传参 onload(opt)中的opt接受传过来的title 赋值即可
- mysql管理工具之pt
之前我一直用Seconds_behind_master来衡量主从的延迟,今天看到文档,才觉得多么不可靠!以下是官方文档的描述: In essence, this field measures the ...
- 4.SpringMVC 配置式开发-处理器映射器
处理器映射器 HandlerMapping HandlerMapping 接口负责根据request请求找到对应的Handler处理器及Interceptor拦截器, 并将它们封装在HandlerEx ...
- instanceof解析
https://www.zhihu.com/question/21574535/answer/18998914 Java instanceof 关键字是如何实现的? 基本理解 只是在同一个类加载器加载 ...
- String,StringBuffer,StringBuilder 的区别是什么
Java中用于处理字符串常用的有三个类: 1.java.lang.String 2.java.lang.StringBuffer 3.java.lang.StrungBuilder 一.Java St ...
- GOLANG利用断言调用结构体内特有的方法-
package main import( "fmt" _"sort" _"math/rand" ) //多态的特征是通过接口来实现的 //多 ...
- shell脚本编程进阶及RAID和LVM应用1
bash脚本编程 脚本文件格式: 第一行,顶格写: #!/bin/bash 注释行:#开头 代码注释:写清楚注释 规范写脚本:适度缩进,添加空白行 编程语言:有编程语法格式,库,算法和数据结构 编程思 ...