diff --git a/selfdrive/ui/installer/installer.cc b/selfdrive/ui/installer/installer.cc index 91b0677dce..13375d224f 100644 --- a/selfdrive/ui/installer/installer.cc +++ b/selfdrive/ui/installer/installer.cc @@ -195,7 +195,9 @@ void Installer::cloneFinished(int exitCode, QProcess::ExitStatus exitStatus) { param << value; param.close(); } - run("cd " INSTALL_PATH " && git remote set-url origin --push " GIT_SSH_URL); + run("cd " INSTALL_PATH " && " + "git remote set-url origin --push " GIT_SSH_URL " && " + "git config remote.origin.fetch \"+refs/heads/*:refs/remotes/origin/*\""); #endif // write continue.sh