1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 05:49:02 -08:00
rc/sh/gitall

8 lines
148 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