14 lines
170 B
Plaintext
14 lines
170 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
for i in $(ls); do
|
||
|
cd $i
|
||
|
exists=$(
|
||
|
git status |\
|
||
|
grep 'Your branch is ahead of ' |\
|
||
|
wc -l
|
||
|
)
|
||
|
|
||
|
[ "$exists" -eq 0 ] || printf "> %s\n" "$i"
|
||
|
cd ..
|
||
|
done
|