Skip to content

Commit 0aaa7f9

Browse files
resync conflicts
1 parent 1b5def6 commit 0aaa7f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/deployment/gitOps/git/commandManager/GitCliManager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (impl *GitCliManagerImpl) add(ctx GitContext, rootDir string) (response, er
132132

133133
func (impl *GitCliManagerImpl) push(ctx GitContext, rootDir string) (response, errMsg string, err error) {
134134
impl.logger.Debugw("git push ", "location", rootDir)
135-
cmd, cancel := impl.createCmdWithContext(ctx, "git", "-C", rootDir, "push", "origin", "master", "--force")
135+
cmd, cancel := impl.createCmdWithContext(ctx, "git", "-C", rootDir, "push", "origin", "master")
136136
defer cancel()
137137
output, errMsg, err := impl.runCommandWithCred(cmd, ctx.auth)
138138
impl.logger.Debugw("git add output", "root", rootDir, "opt", output, "errMsg", errMsg, "error", err)

0 commit comments

Comments
 (0)