Gitiles
Code Review
Sign In
gerrit.nordix.org
/
fdio
/
vpp
/
da6520b4ed7ddd35a7c52403a2df1c9fac3c24ca
/
.
/
test
/
scripts
/
git_pull_or_clean.sh
blob: b119a9ccb6014bb5c2e9bd4b6ef5fffadf48b1db [
file
] [
log
] [
blame
]
#!/bin/sh
CMD
=
'git clean -dfX */'
if
git pull
|
grep
-
v
'Already up-to-date.'
then
echo
"Executing $CMD"
$CMD
fi