(args: Sequence[str], cwd: Optional[Path] = None)
| 66 | |
| 67 | |
| 68 | def run_git(args: Sequence[str], cwd: Optional[Path] = None) -> None: |
| 69 | subprocess.run(["git", *args], cwd=str(cwd) if cwd else None, check=True, stdout=subprocess.DEVNULL) |
| 70 | |
| 71 | |
| 72 | def safe_repo_name(url: str) -> str: |