BASHrc Upgrades, Backup Script, DWM Enhancements, Hugo Helpers, Branch Controls #7
@@ -566,7 +566,7 @@
|
|||||||
if [[ -d .git ]]; then
|
if [[ -d .git ]]; then
|
||||||
git ls-remote --exit-code origin dev
|
git ls-remote --exit-code origin dev
|
||||||
dev_exists="$?"
|
dev_exists="$?"
|
||||||
if [[ "$dev_exists" == 0 ]];
|
if [[ "$dev_exists" == 0 ]]; then
|
||||||
git switch dev
|
git switch dev
|
||||||
else
|
else
|
||||||
git switch main
|
git switch main
|
||||||
|
|||||||
Reference in New Issue
Block a user