14 lines
170 B
Bash
Executable File
14 lines
170 B
Bash
Executable File
#!/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
|