change scripts

This commit is contained in:
Frost-Phoenix 2023-11-13 00:16:48 +01:00
parent be42d058cb
commit 27e0c22bae
10 changed files with 86 additions and 72 deletions

View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
git_directory=$PWD/.git
if [[ -d $git_directory ]];then
git add .
read -p "Enter commit name: " commit_name
git commit -m "$commit_name"
git push
else
echo "Git wasn't initialized here."
fi