new branch fix

This commit is contained in:
2025-03-18 11:43:18 +03:00
parent 3f3d6143b6
commit 40de677483

View File

@@ -136,8 +136,8 @@ git:
pull) \
git pull;; \
new) \
read -p "Введите имя новой ветки (без префикса cluster-): " BRANCH_NAME; \
NEW_BRANCH="cluster-$$BRANCH_NAME"; \
read -p "Введите имя новой ветки: " BRANCH_NAME; \
NEW_BRANCH="$$BRANCH_NAME"; \
git checkout -b $$NEW_BRANCH; \
echo "Создана и переключена на новую ветку: $$NEW_BRANCH";; \
*) echo "Unknown action. Available actions: push, pull, cluster-branch";; \