16 lines
419 B
Batchfile
16 lines
419 B
Batchfile
@echo off
|
|
echo Execute Commnad "git reset --hard HEAD" ?
|
|
set /p confirm=Execute Create Files ? (Y/N):
|
|
|
|
if /I "%confirm%"=="Y" (
|
|
echo Create files...
|
|
git reset --hard HEAD
|
|
if %ERRORLEVEL% EQU 0 (
|
|
echo [Complete] Create Files
|
|
) else (
|
|
echo [오류] git reset fail! The .git folder may not exist or Git may not be installed. )
|
|
) else (
|
|
echo 실행이 취소되었습니다.
|
|
)
|
|
|
|
pause |