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:
@@ -11,15 +11,24 @@ IF NOT DEFINED upstream (
|
||||
GOTO die
|
||||
)
|
||||
|
||||
git fetch --all || GOTO die
|
||||
|
||||
ECHO.
|
||||
ECHO Going to reset current branch to: %upstream%
|
||||
ECHO *** WARNING: All local changes and commits will be lost!
|
||||
|
||||
ECHO.
|
||||
ECHO *** WARNING: These local commits will be lost:
|
||||
git log "%upstream%..HEAD" --oneline
|
||||
|
||||
ECHO.
|
||||
ECHO *** WARNING: These local files will be reset:
|
||||
git diff "HEAD..%upstream%" --name-only
|
||||
|
||||
ECHO.
|
||||
CHOICE /M "Execute"
|
||||
IF %ERRORLEVEL% NEQ 1 (
|
||||
ECHO Aborting reset...
|
||||
) ELSE (
|
||||
git fetch --all || GOTO die
|
||||
git reset --hard "%upstream%" || GOTO die
|
||||
ECHO Done.
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user