File tree Expand file tree Collapse file tree 5 files changed +31
-0
lines changed Expand file tree Collapse file tree 5 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ if [ " x$1 " = " x-usage" ]; then
4+ echo push memo from server
5+ exit
6+ fi
7+
8+ cd $MEMODIR && git pull origin master
9+
Original file line number Diff line number Diff line change 1+ @ echo off
2+ if " x%1 " neq " x-usage" goto run
3+ echo pull memo from server
4+ goto :eof
5+ :run
6+ setlocal
7+ cd %MEMODIR% && git pull origin master
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ if [ " x$1 " = " x-usage" ]; then
4+ echo push memo to server
5+ exit
6+ fi
7+
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 1+ @ echo off
2+ if " x%1 " neq " x-usage" goto run
3+ echo push memo to server
4+ goto :eof
5+ :run
6+ setlocal
7+ cd %MEMODIR% && git add -A --ignore-errors && git commit -m update && git push origin master
File renamed without changes.
You canβt perform that action at this time.
0 commit comments