refactor(del): remove my script

This commit is contained in:
Abhiraj Roy
2024-05-29 23:01:43 +05:30
parent 64fdc6e98b
commit 30157488f2

View File

@@ -1,36 +0,0 @@
<<<<<<< HEAD
#!/bin/bash
=======
#!/bin/bash
# Author : Eshan Roy
# URI : https://eshanized.github.io
# NOTE: If you are on Snigdha OS,
# you can install commitizen-go with `sudo pacman -S commitizen-go`
# or `s commitizen-go`. Else you need to install `yay` or `yay-bin`
# to install commitizen. I have written this script only for *Arch Linux.
# Function to check if Commitizen is installed
check_commitizen() {
if ! pacman -Qq commitizen-go &> /dev/null; then
echo "Commitizen is not installed. Please install it using 'yay -S commitizen-go'." >&2
exit 1
fi
}
# Function to stage, commit, and push changes
push_to_github() {
git add .
git cz
git push origin master
}
# Main Function
main() {
check_commitizen
push_to_github
}
main
>>>>>>> 122db96bc4e6a7242cb3d37c53eef560cb6aba8f