fix push command
This commit is contained in:
parent
86a7542e71
commit
40809c10cb
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue