From 1a2e66f880b5066e8ce5282615076031ab5d3de9 Mon Sep 17 00:00:00 2001 From: MasonCodingHere Date: Fri, 11 Oct 2024 16:01:53 +0800 Subject: [PATCH] Remove push.sh from remote --- push.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 push.sh diff --git a/push.sh b/push.sh deleted file mode 100755 index 5559e16..0000000 --- a/push.sh +++ /dev/null @@ -1,20 +0,0 @@ -# Check if a commit message was provided as an argument -if [ -z "$1" ]; then - # If no commit message is provided, use the current date and time - COMMIT_MSG="Update at $(date)" -else - # Use the provided commit message - COMMIT_MSG="$1" -fi - -# Add all changes -git add . - -# Commit changes with the provided message -git commit -m "$COMMIT_MSG" - -# Push changes to the 'main' branch -git push origin main - -# Print a success message -echo "Changes have been pushed to GitHub successfully!" \ No newline at end of file