Added new version of gswitch
This commit is contained in:
parent
20aecd6c56
commit
d085e9ce1d
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user