4 echo Does not appear to be a git tree
8 if [ "$1"x == x ]; then
9 echo Need remote branch
15 if [ ! -f .git/refs/remotes/origin/$SRC ]; then
16 echo Remote branch $SRC does not exist
20 if [ "$2"x != x ]; then
26 cp .git/refs/remotes/origin/$SRC .git/refs/heads/$DST