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