commit-id
git log 显示 commit-ID 提交日期 提交说明
一、显示 commit-ID 提交日期 提交说明 git log --pretty=format:'%C(auto)%h%C(blue) %<|(19)%as%C(auto)%d %s' %C(auto) 设置%h显示内容颜色(auto 意思是默认颜色) %C(blue) 设置%as显示内容颜色 % ......
git 一行显示 commit-ID 分支名 提交说明
### 一、一行显示 commit-ID 分支名 提交说明 ```bash branch_name=`git branch --show-current`; curr_commit_ID=`git log -1 --format="%H %s"`; echo "$branch_name $curr_ ......
git branch 显示分支同时 commit-ID 提交信息
### 一、 ```bash git branch -v 或 git branch -vv ``` ![image](https://img2023.cnblogs.com/blog/597729/202308/597729-20230819095433915-193300772.png) 参考、来 ......