1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-14 17:29:03 -08:00
rc/sh/gitall

9 lines
148 B
Text
Raw Normal View History

2013-06-28 05:22:14 -07:00
#!/bin/zsh
find ~ -name .git -type d \
| grep -v '/src/\|/work/' \
| while read -r fp; do
2013-07-01 18:05:17 -07:00
cd "${fp%/.git}"
pwd
confirm && git pull
2013-06-28 05:22:14 -07:00
done