feature/add-cmd (#13)

Co-authored-by: kjuulh <contact@kjuulh.io>
Reviewed-on: https://git.front.kjuulh.io/kjuulh/kraken/pulls/13
This commit is contained in:
2022-09-18 16:49:15 +02:00
parent 3ef688a00d
commit 6691b7f1ec
4 changed files with 31 additions and 6 deletions

View File

@@ -242,7 +242,7 @@ func (g *Git) CreateBranch(ctx context.Context, gitRepo *GitRepo) error {
err = worktree.PullContext(ctx, &git.PullOptions{
RemoteName: "origin",
ReferenceName: "refs/heads/main",
SingleBranch: true,
SingleBranch: false,
Depth: 1,
Auth: auth,
RecurseSubmodules: 1,