projects
/
jprojects-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Parameter 'r' for resetting hard projects added
[jprojects-scripts.git]
/
pull-stick.sh
diff --git
a/pull-stick.sh
b/pull-stick.sh
index edc6784f1e198a4a4a4eaa8251578c0eb6144c96..c65578386902d47d67b24d42739b67b2674c6789 100755
(executable)
--- a/
pull-stick.sh
+++ b/
pull-stick.sh
@@
-15,6
+15,10
@@
for project in ${LIST}; do
then
echo "$0: Checkout '${project}' ..."
git checkout -- .
+ elif [ "$1" = "r" ]
+ then
+ echo "$0: Resetting '${project}' ..."
+ git reset --hard
fi
echo "$0: Pulling '${project}' ..."