Compare commits

..

No commits in common. "2f78b4c8105d45f24ce055d542b9d030210a43fb" and "97bb4576af5f12c03ba6abc7fc9d6ac5d4aa230e" have entirely different histories.

2 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,3 +1,2 @@
/target
*.log
push_to_git.sh

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: $@"