Compare commits
2 Commits
feature/mo
...
v0.2
Author | SHA1 | Date | |
---|---|---|---|
7a915ff9af
|
|||
46cc160764
|
@@ -227,6 +227,13 @@ func (g *GoGit) CreateBranch(ctx context.Context, gitRepo *GoGitRepo) error {
|
|||||||
return fmt.Errorf("could not checkout branch: %w", err)
|
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()
|
auth, err := g.GetAuth()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Reference in New Issue
Block a user