updated github.sh

pull/16/head
Hari Sekhon 8 months ago
parent 1a9dc9bff0
commit 4f8e074918

@ -45,7 +45,9 @@ get_github_repo(){
}
is_github_origin(){
git remote -v | grep -q '^origin.*github\.com[/:]'
git remote -v |
# permitting generic domain regex for those self-hosting their own github enterprise servers
grep -q "^origin.*github\.${domain_regex}[/:]"
}
check_github_origin(){

Loading…
Cancel
Save