From 25ad5f6cdffc9a11c60c9ea59e0e728d2beb8cad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 11 May 2016 17:56:20 +0200 Subject: [PATCH] Added project 'jlandingpage' + revert-jprojects.sh Signed-off-by: Roland Haeder --- revert-jprojects.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 revert-jprojects.sh diff --git a/revert-jprojects.sh b/revert-jprojects.sh new file mode 100644 index 0000000..6ccf5eb --- /dev/null +++ b/revert-jprojects.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +. ./.jprojects.sh || exit 255 + +for project in ${LIST}; do + if [ ! -d "${JPROJECTS_HOME}/${project}" ] + then + continue + fi + + echo "$0: Reverting '${project}' ..." + cd "${JPROJECTS_HOME}/${project}" + git reset --hard +done + +echo "$0: All done." +exit 0 -- 2.39.5