()
| 1149 | raise RuntimeError(f"git reset failed for origin/{branch}") |
| 1150 | subprocess.run( |
| 1151 | [shutil.which("git") or "git", "clean", "-f", "--", "*.py", "*.css", "*.sh", "*.bash"], |
| 1152 | cwd=existing_path, check=False, |
| 1153 | ) |
| 1154 | print(_("Repository fully updated, including README and all other files.")) |
| 1155 | return True |
| 1156 | |
| 1157 |
no test coverage detected