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 {