From 4fcd3fdb88fa3804b3ec7254e1453ee3ba95bc75 Mon Sep 17 00:00:00 2001 From: Eshan Roy Date: Fri, 13 Dec 2024 13:37:39 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20refactor(=5Frem):=20confirmation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- push.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/push.sh b/push.sh index 4bea66a..9330f92 100755 --- a/push.sh +++ b/push.sh @@ -67,13 +67,6 @@ fi echo -e "\nCommit message:" echo -e "\033[1;36m$commit_msg\033[0m" -# Confirm before committing -read -p "Do you want to proceed with this commit? (y/n): " confirm -if [[ "$confirm" != "y" && "$confirm" != "Y" ]]; then - echo "Commit aborted." - exit 0 -fi - # Stage all changes git add . @@ -90,4 +83,4 @@ if git push origin "$branch"; then echo -e "\033[1;32mChanges pushed to remote branch '$branch'.\033[0m" else error_exit "Push failed. Please check your connection or branch permissions." -fi \ No newline at end of file +fi