21 lines
345 B
Batchfile
21 lines
345 B
Batchfile
|
@echo off
|
||
|
|
||
|
setlocal
|
||
|
|
||
|
set repoUrl=ssh://git@git.tool.dwoodauto.com:2221/jason/mes-admin-windows-release.git
|
||
|
set folderPath=E:\Demu\mes-admin-windows-release
|
||
|
|
||
|
cd %folderPath%
|
||
|
|
||
|
echo Adding files...
|
||
|
git add -A
|
||
|
|
||
|
echo Committing changes...
|
||
|
git commit -m "Automatic commit"
|
||
|
|
||
|
echo Pushing to remote repository...
|
||
|
git push %repoUrl%
|
||
|
|
||
|
echo Done.
|
||
|
|
||
|
endlocal
|