dotfiles/dot_local/bin/executable_xxbranch

11 lines
171 B
Plaintext
Raw Permalink Normal View History

2023-09-15 15:46:04 -04:00
#!/bin/sh
if [ $# -eq 1 ]; then
branch=$1
git fetch upstream master
git checkout upstream/master
git checkout -b "$branch"
else
echo "Please specify new branch."
fi