This commit is contained in:
root
2025-09-29 07:30:23 +00:00
parent 3b0bd3c632
commit cd7933ebc7
8 changed files with 839 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash
# Skript: Dev in Master mergen
DEV_BRANCH="dev"
MASTER_BRANCH="master"
# Auf master wechseln und aktuell holen
git checkout $MASTER_BRANCH
git pull origin $MASTER_BRANCH
# Dev aktuell holen
git checkout $DEV_BRANCH
git pull origin $DEV_BRANCH
# Merge Dev in Master
git checkout $MASTER_BRANCH
git merge --no-ff $DEV_BRANCH -m "Merge $DEV_BRANCH into $MASTER_BRANCH"
# Push Master auf Remote
git push origin $MASTER_BRANCH
echo "Branch $DEV_BRANCH wurde in $MASTER_BRANCH gemerged."