1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-03 04:03:24 -07:00
rc/sh/gitall

9 lines
142 B
Bash
Executable File

#!/bin/zsh
find ~ -name .git -type d \
| grep -v '/src/\|/work/' \
| while read -r fp; do
cd "${fp%/.git}"
pwd
confirm && git pull
done