1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-01 23:43:07 -07:00
rc/sh/gitall

9 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