Skip to content

Commit 7ca69ed

Browse files
committed
Fix: Git pull
1 parent 44cbf5b commit 7ca69ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

codeclash/games/game.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ def get_environment(self, branch_name: str | None = None) -> DockerEnvironment:
212212
environment.execute(
213213
f"git remote set-url origin {new_url} && "
214214
f"git fetch --all && "
215+
f"git pull && "
215216
f"git branch {branch_name} && "
216-
f"git checkout {branch_name} && "
217-
f"git pull origin {branch_name}"
217+
f"git checkout {branch_name}"
218218
)
219219
)
220220
else:

0 commit comments

Comments
 (0)