14 lines
348 B
Go
14 lines
348 B
Go
package clientcmd
|
|
|
|
import (
|
|
clientconfig "github.com/deranjer/gvc/client/clientconfig"
|
|
"github.com/deranjer/gvc/common/engine"
|
|
)
|
|
|
|
// Commit commits the tracked files and changes to the repo
|
|
func Commit(conf *clientconfig.Gvcconfig, commitMessage string, m *engine.Manager) error {
|
|
m.BeginCommit(conf.CurrentBranch, commitMessage)
|
|
|
|
return nil
|
|
}
|