]> juplo.de Git - demos/kafka/training/commitdiff
RESET.sh → reset.sh: source branches.sh
authorKai Moritz <kai.milan.moritz@googlemail.com>
Fri, 29 May 2026 23:54:40 +0000 (23:54 +0000)
committerKai Moritz <kai.milan.moritz@googlemail.com>
Fri, 29 May 2026 23:54:40 +0000 (23:54 +0000)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
RESET.sh [deleted file]
reset.sh [new file with mode: 0755]

diff --git a/RESET.sh b/RESET.sh
deleted file mode 100755 (executable)
index f0f17a4..0000000
--- a/RESET.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-set -e
-
-source BRANCHES.sh
-
-if [ "$1" == "" ]
-then
-  echo "No Tag-Prefix specified: Resetting to remote branches"
-  for i in grundlagen__docker $BRANCHES
-  do
-    declare -n branch=${i}
-    echo -e "\nResetting $branch to origin/$branch\n\n"
-    git checkout $branch 
-    git reset --hard origin/$branch
-  done
-else
-  for i in grundlagen__docker $BRANCHES
-  do
-    declare -n branch=${i}
-    echo -e "\nResetting $branch to tag ${branch}--$1\n"
-    git checkout $branch 
-    git reset --hard ${branch}--$1
-  done
-fi
-
-git checkout scripting
diff --git a/reset.sh b/reset.sh
new file mode 100755 (executable)
index 0000000..ed2ab0f
--- /dev/null
+++ b/reset.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+set -e
+
+source branches.sh
+
+if [ "$1" == "" ]
+then
+  echo "No Tag-Prefix specified: Resetting to remote branches"
+  for i in grundlagen__docker $BRANCHES
+  do
+    declare -n branch=${i}
+    echo -e "\nResetting $branch to origin/$branch\n\n"
+    git checkout $branch 
+    git reset --hard origin/$branch
+  done
+else
+  for i in grundlagen__docker $BRANCHES
+  do
+    declare -n branch=${i}
+    echo -e "\nResetting $branch to tag ${branch}--$1\n"
+    git checkout $branch 
+    git reset --hard ${branch}--$1
+  done
+fi
+
+git checkout scripting