From 65a4c31a2b173e4cf79737ad50a243d0064e953d Mon Sep 17 00:00:00 2001
From: "timo.altan" <timo.altan@th-koeln.de>
Date: Tue, 1 Jun 2021 16:25:12 +0200
Subject: [PATCH] =?UTF-8?q?Git=20Skript=20f=C3=BCr=20Pull,=20Push=20und=20?=
 =?UTF-8?q?zum=20erstellen=20eines=20Branches?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Create-Git-Branch.sh | 20 --------------------
 Git-Pull.sh          | 30 ------------------------------
 Git-Push.sh          | 36 ------------------------------------
 3 files changed, 86 deletions(-)
 delete mode 100644 Create-Git-Branch.sh
 delete mode 100644 Git-Pull.sh
 delete mode 100644 Git-Push.sh

diff --git a/Create-Git-Branch.sh b/Create-Git-Branch.sh
deleted file mode 100644
index 2e01a43..0000000
--- a/Create-Git-Branch.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-read -p $'\e[32mPlease insert a Branch name: \e[0m' branch_name
-
-read -p $'\e[32mIs this branch name correct?[y/n] \e[0m' correct
-
-if [ "$correct" == "y" ]
-	then
-		git checkout -b $branch_name
-		git push origin $branch_name
-	elif [ "$correct" == "n" ]
-		then
-			read -p $'\e[36mPlease insert correct Branch name: \e[0m' branch_name
-	        	git checkout -b $branch_name
-			git push origin $branch_name
-	else
-		echo $'\e[31mWrong input! Please type y (yes) or n (no) \e[0m'
-fi
-
-read -p "Press enter to continue "
\ No newline at end of file
diff --git a/Git-Pull.sh b/Git-Pull.sh
deleted file mode 100644
index 8d193a1..0000000
--- a/Git-Pull.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-read -p $'\e[32mPlease insert the Git-Repository address: \e[0m' git_link
-
-read -p $'\e[32mIs this address correct?[y/n] \e[0m' correct
-
-if [ "$correct" == "y" ]
-	then
-		read -p $'\e[32mWhat is the branch name? \e[0m' branch_name
-
-		read -p $'\e[32mIs this branch name correct?[y/n] \e[0m' correct_branch
-
-		if [ "$correct_branch" == "y" ]
-			then
-				git pull $git_link $branch_name
-			elif [ "$correct_branch" == "n" ]
-				then
-					read -p $'\e[36mPlease insert correct branch name \e[0m' branch_name
-					git pull $git_link $branch_name
-			else
-				echo $'\e[31mWrong input! Please type y (yes) or n (no) \e[0m'
-		fi
-	elif [ "$correct" == "n" ]
-		then
-			echo $'\e[31mTry executing this Script again! \e[0m'
-	else
-		echo $'\e[31mWrong input! Please type y (yes) or n (no) \e[0m'
-fi
-
-read -p "Press enter to continue "
\ No newline at end of file
diff --git a/Git-Push.sh b/Git-Push.sh
deleted file mode 100644
index be60ba2..0000000
--- a/Git-Push.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-echo "Adding changed files to the index"
-
-git add .
-
-read -p $'\e[32mPlease insert a comment for this commit:\e[0m ' comment_commit
-
-read -p $'\e[32mIs this comment correct?[y/n]\e[0m ' correct
-
-if [ "$correct" == "y" ]
-	then
-		git commit -m "$comment_commit"
-	
-		read -p $'\e[32mWhat is the branch name? \e[0m' branch_name
-
-		read -p $'\e[32mIs this branch name correct?[y/n] \e[0m' correct_branch
-
-		if [ "$correct_branch" == "y" ]
-			then
-				git push origin $branch_name
-			elif [ "$correct_branch" == "n" ]
-				then
-					read -p $'\e[36mPlease insert correct branch name \e[0m' branch_name
-					git push origin $branch_name
-			else
-				echo $'\e[31mWrong input! Please type y (yes) or n (no) \e[0m'
-		fi
-	elif [ "$correct" == "n" ]
-		then
-			echo $'\e[31mTry executing this Script again!\e[0m'
-	else
-		echo $'\e[31mWrong input! Please type y (yes) or n (no) \e[0m'
-fi
-
-read -p "Press enter to continue "
\ No newline at end of file
-- 
GitLab