diff --git a/misc/format_server.py b/misc/format_server.py index 2cc6639731f4d..a2573fa5d218c 100644 --- a/misc/format_server.py +++ b/misc/format_server.py @@ -81,7 +81,7 @@ def do_GET(self): ssh_url = head['repo']['ssh_url'] self.exec(f'git remote add {user_id} {ssh_url}') self.exec(f'git fetch {user_id} {branch_name}') - self.exec(f'git branch -d {user_id}-{branch_name}') + self.exec(f'git branch -D {user_id}-{branch_name}') self.exec( f'git checkout -b {user_id}-{branch_name} {user_id}/{branch_name}') commits = self.exec(