Added new version of gswitch

This commit is contained in:
y0rune committed 2023-10-04 23:21:44 +02:00
1 parent a27cf9126d
commit 956c09924c
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"