summaryrefslogtreecommitdiff
path: root/unwind1.sh
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 19:27:19 -0600
committerJeff Carr <[email protected]>2024-02-05 19:27:19 -0600
commita0f5c25e2fe6fbdda1ca9c20fcbb6eb525e466f1 (patch)
tree2cb579af6e7072e585ce539f613c14e8148cb7a4 /unwind1.sh
parent7f0f36a886bab5bc0f4d756cabc01ad523b12510 (diff)
added way to unwind missed reposv0.20.0
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'unwind1.sh')
-rwxr-xr-xunwind1.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/unwind1.sh b/unwind1.sh
new file mode 100755
index 0000000..28e0304
--- /dev/null
+++ b/unwind1.sh
@@ -0,0 +1,20 @@
+#!/bin/bash -x
+
+if [ "$1" == "guimaster" ]; then
+ git checkout devel
+ git branch -D guimaster
+ git branch guimaster
+ git checkout guimaster
+ git push --set-upstream --force origin guimaster
+ exit
+fi
+
+if [ "$1" == "master" ]; then
+ git checkout devel
+ git branch -D master
+ git branch master
+ git checkout master
+ git push --set-upstream --force origin master
+ exit
+fi
+