Add heads back onto the ls-remote command.

This commit is contained in:
2025-10-15 05:41:12 -07:00
parent aa3075a9fc
commit 73e527640f

View File

@@ -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