Skip to content

Commit b5b4a03

Browse files
fix(commit): force fetch (#33)
1 parent 9a33a72 commit b5b4a03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/app/updater/commit.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ func fetchLatestChangesGitRepository(appName string, gitR git.Repository, creds
251251
err := gitR.Fetch(&git.FetchOptions{
252252
RefSpecs: []config.RefSpec{"refs/*:refs/*", "HEAD:refs/heads/HEAD"},
253253
Auth: creds,
254+
Force: true,
254255
})
255256
if err != nil {
256257
return nil, err

0 commit comments

Comments
 (0)