Klement Sekera | 799e26d | 2017-03-13 06:39:08 +0000 | [diff] [blame] | 1 | #!/bin/sh |
Klement Sekera | a657e4e | 2017-04-03 04:21:46 +0000 | [diff] [blame] | 2 | CMD='git clean -dfX */' |
Klement Sekera | 799e26d | 2017-03-13 06:39:08 +0000 | [diff] [blame] | 3 | |
Klement Sekera | a657e4e | 2017-04-03 04:21:46 +0000 | [diff] [blame] | 4 | if git pull | grep -v 'Already up-to-date.' |
5 | then | ||||
6 | echo "Executing $CMD" | ||||
7 | $CMD | ||||
8 | fi |