Added simple checking, if Clone URL is working. It is checked by 'git ls-remote --exit-code' command called by AJAX request on blur of Clone URL input.
If git command returns 0, it returns message "ok" and HTTP code 200, otherwise it returns "fail" with HTTP code 404.
Added simple checking, if Clone URL is working. It is checked by '
git ls-remote --exit-code
' command called by AJAX request on blur of Clone URL input.If git command returns
0
, it returns message "ok" and HTTP code200
, otherwise it returns "fail" with HTTP code404
.