Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- ghuser=teknoraver
- upstream=$1
- repo=${upstream##*/}
- local="git@github.com:$ghuser/$repo.git"
- git clone "$local"
- cd "$repo"
- git remote add -f upstream "$upstream"
- git remote set-url --push upstream ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement