Skip to content

Instantly share code, notes, and snippets.

@lotharschulz
Created December 22, 2024 21:27
Show Gist options
  • Save lotharschulz/fe8fadde576fd418e2a736c8117e4916 to your computer and use it in GitHub Desktop.
Save lotharschulz/fe8fadde576fd418e2a736c8117e4916 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
find . -maxdepth 2 -type d -name .git -execdir sh -c "pwd && git pull" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment