11 lines
171 B
Plaintext
11 lines
171 B
Plaintext
|
#!/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
|
||
|
|