diff --git a/pkg/reconciler/buildrun/resources/sources/git.go b/pkg/reconciler/buildrun/resources/sources/git.go index f4132fe79..746985167 100644 --- a/pkg/reconciler/buildrun/resources/sources/git.go +++ b/pkg/reconciler/buildrun/resources/sources/git.go @@ -71,7 +71,7 @@ func AppendGitStep( // If configure, use Git URL rewrite flag if cfg.GitRewriteRule { - gitStep.Container.Args = append(gitStep.Container.Args, "--git-url-rewrite-rule") + gitStep.Container.Args = append(gitStep.Container.Args, "--git-url-rewrite") } if source.Credentials != nil {