diff --git a/selfdrive/ui/installer/installer.cc b/selfdrive/ui/installer/installer.cc index 85eb9191f8..68f6d10c9c 100644 --- a/selfdrive/ui/installer/installer.cc +++ b/selfdrive/ui/installer/installer.cc @@ -197,7 +197,7 @@ void Installer::cloneFinished(int exitCode, QProcess::ExitStatus exitStatus) { run("cd " INSTALL_PATH " && " "git submodule update --init && " "git remote set-url origin --push " GIT_SSH_URL " && " - "git config remote.origin.fetch \"+refs/heads/*:refs/remotes/origin/*\""); + "git config --replace-all remote.origin.fetch \"+refs/heads/*:refs/remotes/origin/*\""); #endif // write continue.sh