git push script cause i am lazy lol

This commit is contained in:
LunarAkai 2025-07-31 22:29:45 +02:00
commit 97bb4576af

11
push_to_git.sh Executable file
View file

@ -0,0 +1,11 @@
#! /usr/bin/bash
git add .
git commit -m "$@"
git push -u origin main
git push -u github main
hash=$(git rev-parse --short HEAD)
echo "commit $hash pushed to origin and github"
echo "commit message: $@"