Skip to content

Commit

Permalink
Onboarding: fix git checkout (#3741)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertomonteromiguel authored Dec 23, 2024
1 parent d06c940 commit 2ff04b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/virtual_machine/virtual_machine_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def install_provision(self, vm, server, server_connection):
last_task = self.commander.remote_command(
vm,
"checkout_branch",
f"cd system-tests && git pull && git checkout {ci_commit_branch}",
f"cd system-tests && git reset --hard HEAD && git pull && git checkout {ci_commit_branch}",
vm.get_command_environment(),
server_connection,
last_task,
Expand Down

0 comments on commit 2ff04b4

Please sign in to comment.