Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (18 sloc) 0.471 kb
#!/bin/bash
for dir in *; do
if [ -d $dir ]; then
cd $dir
STATUS=$(git status)
UNPUSHED=$(git-svn-check-unpushed)
if [ $(echo $STATUS|grep -c "clean") -lt 1 -o \
$(echo $UNPUSHED|grep -c "No unpushed") -lt 1 ]; then
echo '>>>>>>>>>>>>>>>>' $dir '<<<<<<<<<<<<<<<<'
git status
git-svn-check-unpushed
echo '----------------------------------------'
else
echo $dir 'is clean'
fi
cd ..
fi
done
Jump to Line
Something went wrong with that request. Please try again.