with moved commands

This commit is contained in:
Kasper Juul Hermansen 2022-09-21 21:29:44 +02:00
parent d6d98c2ce8
commit 41b35f1938
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -227,13 +227,6 @@ func (g *GoGit) CreateBranch(ctx context.Context, gitRepo *GoGitRepo) error {
return fmt.Errorf("could not checkout branch: %w", err)
}
//remoteRef := plumbing.NewRemoteReferenceName("origin", "octopush-apply")
//ref := plumbing.NewSymbolicReference(refSpec, remoteRef)
//err = gitRepo.repo.Storer.SetReference(ref)
//if err != nil {
// return fmt.Errorf("could not set reference: %w", err)
//}
auth, err := g.GetAuth()
if err != nil {
return err