File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ if [ "x$1" = "x-usage" ]; then
55 exit
66fi
77
8- cd $MEMODIR && git pull origin master
8+ cd $MEMODIR && git pull origin master --rebase
99
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ echo pull memo from server
44goto :eof
55:run
66setlocal
7- cd %MEMODIR% && git pull origin master
7+ cd %MEMODIR% && git pull origin master --rebase
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ if [ "x$1" = "x-usage" ]; then
55 exit
66fi
77
8- cd $MEMODIR && git add -A --ignore-errors && git commit -m update && git push origin master
8+ cd $MEMODIR && git add -A --ignore-errors && ( git commit -m update || git push origin master)
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ echo push memo to server
44goto :eof
55:run
66setlocal
7- cd %MEMODIR% && git add -A --ignore-errors && git commit -m update && git push origin master
7+ cd %MEMODIR% && git add -A --ignore-errors && ( git commit -m update || git push origin master)
You can’t perform that action at this time.
0 commit comments