#!/bin/bash IFS=$'\n' #conf start commid id startCommitId=030cd2bf4e3694fe3a3b6f069556c4ea91a9858d lastCommitId="123" for log in $(git log --pretty=oneline) do commitId=${log:0:40} desc=${log:41} #echo "commitId:${commitId} desc:${desc}&quo
[git查看某个文件修改历史] 1.使用git命令 git whatchanged charge.lua 显示某个文件的每个版本提交信息:提交日期,提交人员,版本号,提交备注(没有修改细节) git show 7aee80cd2afe3202143f379ec671917bc86f9771 显示某个版本的修改详情 2.visual studio code可以加载git history插件. Press F1 and select/type "Git: View History (git log)
git rev-parse master^{commit} 是什么意思 显示master提交的SHA1值 if you want to make sure that the output actually names an object in your object database and/or can be used as a specific type of object you require, you can add the ^{type} peeling operator to th