diff --git a/cmd/podcli/code.go b/cmd/podcli/code.go index 7e893ad..8e47738 100644 --- a/cmd/podcli/code.go +++ b/cmd/podcli/code.go @@ -170,7 +170,8 @@ func runCodeInit(cmd *cobra.Command, args []string) error { } func gitPush() error { - cmd := exec.Command("sh", "-c", "git add . && git commit -m \"init\" && git push") + cmdPush := fmt.Sprintf("git add . && git commit -m \"sync %s\" && git push", codeVersion) + cmd := exec.Command("sh", "-c", cmdPush) output, err := cmd.Output() if err != nil { return err