Added the gswitch
This commit is contained in:
parent
27d3f8fc33
commit
263d4e375f
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
BRANCH=$1
|
||||||
|
git checkout -b "$BRANCH"
|
||||||
|
git checkout "$BRANCH"
|
||||||
|
git branch --set-upstream-to=origin/"$BRANCH" "$BRANCH"
|
||||||
|
git pull
|
Loading…
Reference in New Issue