From aa8ace9b4f2cd5faffce819af5aaf780f09f4988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E5=95=A6b=E6=A2=A6?= <1715109585@qq.com> Date: Sat, 4 Nov 2023 21:17:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83,1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- citool/gitLogSum/gitLogSum.go | 1 - 1 file changed, 1 deletion(-) diff --git a/citool/gitLogSum/gitLogSum.go b/citool/gitLogSum/gitLogSum.go index 9100e33..2970c9f 100644 --- a/citool/gitLogSum/gitLogSum.go +++ b/citool/gitLogSum/gitLogSum.go @@ -11,7 +11,6 @@ import ( func main() { cmdStr := "git log --pretty=format:\"%an|%s|%h|%ad|%H\" --date=format:\"%Y-%m-%d %H:%M\" $(git describe --tags --abbrev=0)^..HEAD" cmd := exec.Command("sh", "-c", cmdStr) - // 执行命令并返回结果(输出到控制台) out, err := cmd.CombinedOutput() if err != nil {