Skip to content

Commit 1290614

Browse files
committed
Update plugins
1 parent 78f49e8 commit 1290614

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

misc/push-pull/pull

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ if [ "x$1" = "x-usage" ]; then
55
exit
66
fi
77

8-
cd $MEMODIR && git pull origin master
8+
cd $MEMODIR && git pull origin master --rebase
99

misc/push-pull/pull.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ echo pull memo from server
44
goto :eof
55
:run
66
setlocal
7-
cd %MEMODIR% && git pull origin master
7+
cd %MEMODIR% && git pull origin master --rebase

misc/push-pull/push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ if [ "x$1" = "x-usage" ]; then
55
exit
66
fi
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)

misc/push-pull/push.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ echo push memo to server
44
goto :eof
55
:run
66
setlocal
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)

0 commit comments

Comments
 (0)