2022. jún. 27., hétfő, 13:30:39 CEST

This commit is contained in:
marguesto 2022-06-27 13:30:39 +02:00
parent 8dcdb4d57a
commit ee5c639bc4
1 changed files with 2 additions and 1 deletions

3
pu
View File

@ -6,12 +6,13 @@ push()
git add . && git commit -m "$1" && git push -u origin master
}
if [[ $# == 0 ]]; then
read -p "commit message: " msg
push "$msg"
else
if [[ $1 == -time ]]; then
push "$date"
push "$(date)"
else
push "$1"
fi