public static void Main()
Console.WriteLine("Hello World");
set sourcepath=E:\viis\moonstride\
set /p Key= Do you want to switch the branch(Y/N)....?
IF /I "%Key%" NEQ "Y" GOTO :SkipBranchInput
echo Press 1 for [Master]
echo Press 3 for [sprint1]
set /p swichtobranchKey= Press any number to continue.... -^>
if %swichtobranchKey%==1 (
) else if %swichtobranchKey%==2 (
)else if %swichtobranchKey%==3 (
set swichtobranch=sprint1
for /d %%i in (%sourcepath%*) do (
echo switch in %swichtobranch% Start @...... "%%i"
git checkout -f %swichtobranch%
echo Skipped switch to branch
for /d %%i in (%sourcepath%*) do (
echo Current Branch @...... "%%i"
set /p Key= Do you want to continue(Y/N)....?
for /d %%i in (%sourcepath%*) do (
echo Get Latest Start @...... "%%i"
set /p Key= Press any key to continue.... -^>