Init commit

This commit is contained in:
raccoon
2024-08-19 20:07:36 +05:00
commit 265316b5d6
33 changed files with 2865 additions and 0 deletions

26
repo-discard.cmd Normal file
View File

@@ -0,0 +1,26 @@
@ECHO OFF
TITLE Restore Unity Project repo
SETLOCAL
CD "%~dp0"
git rev-parse --is-inside-work-tree >NUL || GOTO die
ECHO The following files were changed and will be reverted:
git diff --name-only HEAD
ECHO.
CHOICE /M "Execute"
IF %ERRORLEVEL% NEQ 1 (
ECHO Aborting restore...
) ELSE (
git restore "%~dp0." || GOTO die
ECHO Done.
)
:end
PAUSE
EXIT /B 0
:die
PAUSE
EXIT /B %ERRORLEVEL%