func Commit(apiClient pfs.ApiClient, repositoryName string, commitID string) error { _, err := apiClient.Commit( context.Background(), &pfs.CommitRequest{ Commit: &pfs.Commit{ Repository: &pfs.Repository{ Name: repositoryName, }, Id: commitID, }, }, ) return err }