routine changes

This commit is contained in:
Joel Mathew Thomas
2024-05-11 15:10:56 +05:30
parent b1c60c2c30
commit eb31d5777e
9 changed files with 75 additions and 10 deletions
Executable
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# Check if argument is provided
if [ $# -eq 0 ]; then
echo "Usage: $0 <commit_message>"
exit 1
fi
# Add all changes
git add .
# Commit with the provided argument
commit_message="$1"
git commit -m "$commit_message"
# Push changes to the master branch of the origin remote
git push -u origin master