fix push command
This commit is contained in:
parent
86a7542e71
commit
40809c10cb
|
@ -86,10 +86,10 @@ function register_key() {
|
||||||
|
|
||||||
function push() {
|
function push() {
|
||||||
git add -A
|
git add -A
|
||||||
if [ -z "$@" ]; then
|
if [ -z "$*" ]; then
|
||||||
git commit -m "`date`"
|
git commit -m "$(date)"
|
||||||
else
|
else
|
||||||
git commit -m "\"$@\""
|
git commit -m "$*"
|
||||||
fi
|
fi
|
||||||
git push
|
git push
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue