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