Skip to content

Commit

Permalink
Merge pull request #1 from matbme/checkout
Browse files Browse the repository at this point in the history
core/resolver: Handle existing branch name when pulling
  • Loading branch information
matbme authored Jul 6, 2023
2 parents e65bfe4 + 15aaf5e commit 90a7435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func DownloadGitSource(recipe *Recipe, source Source) error {
cmd = exec.Command(
"git",
"checkout",
"-b", source.Branch,
"-B", source.Branch,
)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
Expand Down

0 comments on commit 90a7435

Please sign in to comment.