5 lines
191 B
Bash
Executable file
5 lines
191 B
Bash
Executable file
#!/bin/sh
|
|
if [ -d "$1" ]; then cd $1; fi
|
|
find . -type d -name '.git' \
|
|
| sed 's/\/\.git$//' \
|
|
| xargs -P $(nproc) -I % bash -c "echo -e 'Fetching \\033[00;31m%\\033[00m...'; cd %; git fetch"
|