Skip to content

Instantly share code, notes, and snippets.

@skaslev
skaslev / pull.py
Last active September 24, 2015 07:37
Update all local repositories in parallel
#!/usr/bin/env python
import os
import subprocess
src = os.path.expandvars('$HOME/src')
ignored = set(['x'])
repo_cmd = { '.git': 'git pull',