do not lag behind if I forget to rebase

This commit is contained in:
Felix Van der Jeugt 2017-05-09 08:51:39 +02:00
parent 343fa4e9c6
commit 69f9fdcfb8
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ find /data -name '.git' -exec dirname \{\} \; | while read gitrepo; do
git remote | while read remote; do
git fetch --prune "$remote"
done 2>&1 | sed 's/^/ /'
git status | grep behind | sed 's/^/ /'
done
cd "$wd"