| skipped 30 lines |
31 | 31 | | exit 1 |
32 | 32 | | fi |
33 | 33 | | |
| 34 | + | # Convert ssh:// link to a https:// one |
| 35 | + | giturl=$( echo $giturl | sed s_'ssh://git@'_'https://'_ ) |
| 36 | + | |
34 | 37 | | # get current branch |
35 | 38 | | if [ -z "$2" ]; then |
36 | 39 | | branch=$(git symbolic-ref -q --short HEAD) |
| skipped 77 lines |