We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66e5e13 commit 3aaeb16Copy full SHA for 3aaeb16
bin/git-switch
@@ -7,5 +7,5 @@
7
#
8
# Source: https://github.com/Andrew565/dotfiles
9
10
-BRANCH=`git branch | grep "$1"`
11
-exec git checkout $BRANCH
+BRANCH=$(git branch | grep "$1")
+exec git checkout "$BRANCH"
0 commit comments