From 73e527640fa45b6a40e08f42aaccf59605efdfda Mon Sep 17 00:00:00 2001 From: Hyperling Date: Wed, 15 Oct 2025 05:41:12 -0700 Subject: [PATCH] Add heads back onto the ls-remote command. --- tasks/general/acct_mgmt/users.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index 1010334..b1681f9 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -564,7 +564,7 @@ echo -e "\n*** `basename $project` ***" cd $project if [[ -d .git ]]; then - git ls-remote --exit-code origin dev + git ls-remote --exit-code --heads origin dev dev_exists="$?" if [[ "$dev_exists" == 0 ]]; then git switch dev