code_device/switch-branch.sh

4 lines
40 B
Bash

git checkout ${1}
git pull origin ${1}