darkrc/bin/rfetch

4 lines
134 B
Bash
Executable file

#!/bin/sh
find . -type d -name '.git' \
| sed 's/\/\.git$//' \
| xargs -P $(nproc) -I % sh -c "echo 'Fetching %...'; cd %; git fetch"