fix push command

This commit is contained in:
Thomas Avé 2024-09-14 17:53:40 +02:00
parent 86a7542e71
commit 40809c10cb
1 changed files with 3 additions and 3 deletions

View File

@ -86,10 +86,10 @@ function register_key() {
function push() {
git add -A
if [ -z "$@" ]; then
git commit -m "`date`"
if [ -z "$*" ]; then
git commit -m "$(date)"
else
git commit -m "\"$@\""
git commit -m "$*"
fi
git push
}