15 lines
445 B
Batchfile
15 lines
445 B
Batchfile
@echo off
|
|
REM upload-to-gitea.bat — push F:\HiddenSide\newbury-exhibit-v2 to Gitea.
|
|
REM First run initialises the repo; later runs just commit + push everything.
|
|
cd /d F:\HiddenSide\newbury-exhibit-v2
|
|
|
|
if not exist .git (
|
|
git init -b main
|
|
git remote add origin https://gitea.hideawaygaming.com.au/jessikitty/newbury-exhibit-v2.git
|
|
)
|
|
|
|
git add -A
|
|
git commit -m "update %date% %time%" || echo Nothing to commit.
|
|
git push -u origin main
|
|
pause
|