// Upload upload sources to git repo
Upload upload sources to git repo
// Upload upload sources to git repo
func Upload(cfg vcs.CfgUpload) {
	new(gochips.PipedExec).
		Command("git", "add", ".").
		Run(os.Stdout, os.Stdout)
	params := []string{"commit", "-a"}
	for _, m := range cfg.Message {
		params = append(params, "-m", m)
	}
	new(gochips.PipedExec).
		Command("git", params...).
		Run(os.Stdout, os.Stdout)
	new(gochips.PipedExec).
		Command("git", "push").
		Run(os.Stdout, os.Stdout)
}
func Upload ( cfg vcs . CfgUpload ) { new ( gochips . PipedExec ) . Command ( " " , " " , " " ) . Run ( os . Stdout , os . Stdout ) params := [ ] string { " " , " " } for _ , m := range cfg . Message { params = append ( params , " " , m ) } new ( gochips . PipedExec ) . Command ( " " , params ... ) . Run ( os . Stdout , os . Stdout ) new ( gochips . PipedExec ) . Command ( " " , " " ) . Run ( os . Stdout , os . Stdout ) }
Upload upload sources to git repo
Upload upload sources to git repo