Added new version of gswitch

This commit is contained in:
y0rune committed 2023-10-04 23:21:44 +02:00
1 parent 20aecd6c56
commit d085e9ce1d
1 file changed
+2
+2
View File
@@ -1,5 +1,7 @@
#!/bin/bash
BRANCH=$1
git checkout main
git checkout master
git checkout -b "$BRANCH"
git checkout "$BRANCH"
git branch --set-upstream-to=origin/"$BRANCH" "$BRANCH"