From ee5cdaf7bb810046b2ca0dd43c7a4cb562887219 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Fri, 31 May 2024 02:36:47 -0400 Subject: [PATCH] should be add --- selfdrive/ui/qt/text.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/text.cc b/selfdrive/ui/qt/text.cc index be0a8bcd58..e9038760ee 100644 --- a/selfdrive/ui/qt/text.cc +++ b/selfdrive/ui/qt/text.cc @@ -48,7 +48,7 @@ int main(int argc, char *argv[]) { QObject::connect(update_btn, &QPushButton::clicked, [=, &watcher, &btn]() { btn->setEnabled(false); const std::string git_branch = Params().get("GitBranch"); - const std::string cmd1 = "git remote set-url origin-update " + Params().get("GitRemote"); + const std::string cmd1 = "git remote add origin-update " + Params().get("GitRemote"); const std::string cmd2 = "git fetch origin-update " + git_branch; const std::string cmd3 = "git reset --hard origin-update/" + git_branch;