From a2f8eb2682649e623176f7d402fc529021adbc08 Mon Sep 17 00:00:00 2001 From: Roland Haeder 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