We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ab0665 commit 55f8999Copy full SHA for 55f8999
1 file changed
codeclash/agents/player.py
@@ -50,7 +50,8 @@ def __init__(
50
self.logger.info(f"Pulling latest changes from origin for {self.name}")
51
assert_zero_exit_code(self.environment.execute("git pull origin"), logger=self.logger)
52
if branch := config.get("branch_init"):
53
- self.logger.info(f"Checkout out branch {branch}")
+ self.logger.info(f"Fetching and checking out branch {branch}")
54
+ assert_zero_exit_code(self.environment.execute(f"git fetch origin {branch}"), logger=self.logger)
55
assert_zero_exit_code(self.environment.execute(f"git checkout {branch}"), logger=self.logger)
56
57
if self.push:
0 commit comments