1 2 3 4 5 6 7 8
#!/bin/sh git clone "$1" cd "$(basename "$1" .git)" || exit git remote add upstream "$2" git branch fly git checkout fly git push --set-upstream origin fly