Merge pull request #545 from spacewander/via_ssh

fix git-fork by removing '.git'
This commit is contained in:
hemanth.hm 2016-06-27 18:51:29 +05:30 committed by GitHub
commit eb046dcdb3

View file

@ -16,6 +16,7 @@ read user
# extract owner + project from repo url
project=${1##*/}
owner=${1%/$project}
[[ $project == *.git ]] && project=${project%.git}
if [[ $owner == git@* ]]; then
owner=${owner##*:}
else