Skip to content

Commit

Permalink
try putting force back on git pull
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Runyon <tom@defenseunicorns.com>
  • Loading branch information
Tom Runyon committed Mar 1, 2023
1 parent 3f28c79 commit f94ed65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/internal/packager/git/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ func (g *Git) push(repo *git.Repository, spinner *message.Spinner) error {
onlineRemoteRefPrefix + "*:refs/heads/*",
"refs/tags/*:refs/tags/*",
},
Force: true,
})

if errors.Is(err, git.NoErrAlreadyUpToDate) {
Expand Down

0 comments on commit f94ed65

Please sign in to comment.