Skip to content

Instantly share code, notes, and snippets.

View Breadinator's full-sized avatar

Valérie Breadinator

View GitHub Profile
@Breadinator
Breadinator / git_update_all.py
Created July 11, 2025 20:20
Script to `git reset --hard origin/branch` on all repos in the cwd. Undoes changes.
from glob import glob
from pathlib import Path
import subprocess
from typing import Optional
class Colors:
RESET = "\033[0m"
RED = "\033[31m"
GREEN = "\033[92m"