This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Description
go版本 1.17.1
通过 gf-cli init 初始化的项目,由于本地没有初始化 git 和 git commit 记录, gf build 会报错终止。不知是否合理,3Q!
s, err := gproc.ShellExec(git log -1 --format="%cd %H" --date=format:"%Y-%m-%d %H:%M:%S")
报错日志:
fatal: not a git repository (or any parent up to mount point /Volumes)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).