mirror of
https://github.com/Snigdha-OS/snigdhaos-gnome-config.git
synced 2025-09-21 04:34:57 +02:00
🛠 refactor(_rem): confirmation
This commit is contained in:
7
push.sh
7
push.sh
@@ -67,13 +67,6 @@ fi
|
|||||||
echo -e "\nCommit message:"
|
echo -e "\nCommit message:"
|
||||||
echo -e "\033[1;36m$commit_msg\033[0m"
|
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
|
# Stage all changes
|
||||||
git add .
|
git add .
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user