BASHrc Upgrades, Backup Script, DWM Enhancements, Hugo Helpers, Branch Controls #7

Merged
me merged 112 commits from dev into main 2025-12-01 09:50:55 -07:00
Showing only changes of commit 305b8df6ff - Show all commits

View File

@@ -564,6 +564,13 @@
echo -e "\n*** `basename $project` ***" echo -e "\n*** `basename $project` ***"
cd $project cd $project
if [[ -d .git ]]; then if [[ -d .git ]]; then
git ls-remote --exit-code origin dev
dev_exists="$?"
if [[ "$dev_exists" == 0 ]];
git switch dev
else
git switch main
fi
git pull git pull
git push git push
else else