BASHrc Upgrades, Backup Script, DWM Enhancements, Hugo Helpers, Branch Controls #7
@@ -928,6 +928,7 @@
|
||||
git ls-remote --heads | sort
|
||||
|
||||
if [[ "$base" != "dev" ]]; then
|
||||
echo -e "\n* Checking if a dev branch exists."
|
||||
git ls-remote --exit-code --heads origin dev
|
||||
dev_exists="$?"
|
||||
if [[ "$dev_exists" == 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user