mirror of
https://gitlab.com/ProcyonLotor/vrchat-template.git
synced 2026-08-25 10:43:53 +05:00
Updated shell scripts again
This commit is contained in:
@@ -5,13 +5,14 @@ SETLOCAL
|
||||
CD "%~dp0"
|
||||
git rev-parse --is-inside-work-tree >NUL || GOTO die
|
||||
|
||||
ECHO The following files were changed and will be reverted:
|
||||
ECHO.
|
||||
ECHO *** WARNING: 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...
|
||||
ECHO Aborting discard...
|
||||
) ELSE (
|
||||
git restore "%~dp0." || GOTO die
|
||||
ECHO Done.
|
||||
|
||||
Reference in New Issue
Block a user