blob: b119a9ccb6014bb5c2e9bd4b6ef5fffadf48b1db [file] [log] [blame]
Klement Sekera799e26d2017-03-13 06:39:08 +00001#!/bin/sh
Klement Sekeraa657e4e2017-04-03 04:21:46 +00002CMD='git clean -dfX */'
Klement Sekera799e26d2017-03-13 06:39:08 +00003
Klement Sekeraa657e4e2017-04-03 04:21:46 +00004if git pull | grep -v 'Already up-to-date.'
5then
6 echo "Executing $CMD"
7 $CMD
8fi