purrforce/sync2git.bat

20 lines
560 B
Batchfile
Raw Normal View History

2024-03-20 06:25:29 +00:00
set GITDIR=D:\dev\db\purrforce\
copy /B /Y api.h %GITDIR%
copy /B /Y error.c %GITDIR%
copy /B /Y ls.bat %GITDIR%
copy /B /Y main.c %GITDIR%
copy /B /Y make.bat %GITDIR%
copy /B /Y Makefile %GITDIR%
copy /B /Y pull_fromgit.bat %GITDIR%
copy /B /Y readme.md %GITDIR%
copy /B /Y rm.bat %GITDIR%
copy /B /Y sync2git.bat %GITDIR%
copy /B /Y touch.bat %GITDIR%
set RETFOL=%~dp0
cd %GITDIR%
git add -u
git add .
git commit -m ok
git push
cd %RETFOL%