darkrc/bin/rfetch

5 lines
134 B
Text
Raw Normal View History

2020-01-07 16:08:33 +00:00
#!/bin/sh
2020-01-07 10:08:30 +00:00
find . -type d -name '.git' \
| sed 's/\/\.git$//' \
2020-01-07 16:08:33 +00:00
| xargs -P $(nproc) -I % sh -c "echo 'Fetching %...'; cd %; git fetch"