Added new version of gswitch

This commit is contained in:
Marcin Woźniak 2023-10-04 23:21:30 +02:00
parent 20aecd6c56
commit d085e9ce1d
Signed by: y0rune
GPG Key ID: F204C385F57EB348
1 changed files with 2 additions and 0 deletions

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"