From 78b8c653eaa1cb81f8d452c6c9e85e4a18a430bb Mon Sep 17 00:00:00 2001 From: Parham Alvani Date: Sun, 13 Aug 2023 03:39:02 -0400 Subject: [PATCH] Squashed 'scripts/lib/' changes from 24a7b822..e4fe7a83 e4fe7a83 chore: change the way for finding origin-url git-subtree-dir: scripts/lib git-subtree-split: e4fe7a834256ba36f89979ee309908df8b35d44f --- require.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/require.sh b/require.sh index 781a94364..e30b19611 100644 --- a/require.sh +++ b/require.sh @@ -181,7 +181,8 @@ function clone() { else cd "$path/$dir" || return - origin_url=$(git remote get-url origin 2>/dev/null) + # origin_url=$(git remote get-url origin 2>/dev/null) + origin_url=$(git config --get remote.origin.url) if [[ "$repo" == "${origin_url%.git}" ]]; then action git "$repo_name ${F_GRAY}${F_RESET}"